Re: [PATCH] mm: io_uring: allow oom-killer from io_uring_setup

From: Jens Axboe
Date: Mon Feb 07 2022 - 10:53:39 EST


On Mon, 24 Jan 2022 21:17:36 -0800, Shakeel Butt wrote:
> On an overcommitted system which is running multiple workloads of
> varying priorities, it is preferred to trigger an oom-killer to kill a
> low priority workload than to let the high priority workload receiving
> ENOMEMs. On our memory overcommitted systems, we are seeing a lot of
> ENOMEMs instead of oom-kills because io_uring_setup callchain is using
> __GFP_NORETRY gfp flag which avoids the oom-killer. Let's remove it and
> allow the oom-killer to kill a lower priority job.
>
> [...]

Applied, thanks!

[1/1] mm: io_uring: allow oom-killer from io_uring_setup
commit: 0a3f1e0beacf6cc8ae5f846b0641c1df476e83d6

Best regards,
--
Jens Axboe