Re: [RFC PATCH] mm, oom: move GFP_NOFS check to out_of_memory
From: Michal Hocko
Date: Tue Mar 29 2016 - 10:14:53 EST
On Tue 29-03-16 15:27:35, Michal Hocko wrote:
> If this looks like a reasonable approach I would go on think about how
> we can extend this for the oom_reaper and queue the current thread for
> the reaper to free some of the memory.
And this is what I came up with (untested yet). Doesn't too bad to me: