Re: FYI: mmap_sem OOM patch

David Rientjes
2010-07-12T21:48:15Z

On Thu, 8 Jul 2010, KOSAKI Motohiro wrote:

> I disagree. __GFP_NOFAIL mean this allocation failure can makes really
> dangerous result. Instead, OOM-Killer should try to kill next process.
> I think.
>

That's not what happens, __alloc_pages_high_priority() will loop forever
for __GFP_NOFAIL, the oom killer is never recalled.