Re: OOM-killer too aggressive?

From: Andrew Morton
Date: Mon Feb 27 2006 - 20:37:23 EST


Andi Kleen <ak@xxxxxx> wrote:
>
> > I was thinking that your __GFP_NOOOM was a thinko. How would it differ
> > from __GFP_NORETRY?
>
> __GFP_NORETRY seems to skip at least one retry pass as far as I can see.
> __GFP_NOOOM wouldn't. But perhaps the additional pass only makes sense
> with oom killing? I'm not sure - that is why i was asking.
>

Oh, OK. That final get_page_from_freelist() is allegedly to see if a
parallel oom-killing freed some pages - we already know that
try_to_free_pages() didn't work.

I rather doubt that it'll make any difference.
-
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/