Re: [patch -mm 8/9 v2] oom: avoid oom killer for lowmem allocations

From: KAMEZAWA Hiroyuki
Date: Tue Feb 16 2010 - 18:52:40 EST


On Tue, 16 Feb 2010 00:25:22 -0800 (PST)
David Rientjes <rientjes@xxxxxxxxxx> wrote:

> On Tue, 16 Feb 2010, Nick Piggin wrote:
>
> > > I'll add this check to __alloc_pages_may_oom() for the !(gfp_mask &
> > > __GFP_NOFAIL) path since we're all content with endlessly looping.
> >
> > Thanks. Yes endlessly looping is far preferable to randomly oopsing
> > or corrupting memory.
> >
>
> Here's the new patch for your consideration.
>

Then, can we take kdump in this endlessly looping situaton ?

panic_on_oom=always + kdump can do that.

Thanks,
-Kame

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