Re: FYI: mmap_sem OOM patch

From: KOSAKI Motohiro
Date: Mon Jul 12 2010 - 20:14:27 EST


> 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.

Yup, please reread the discusstion.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/