Re: 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ?

From: Alan Cox
Date: Sun May 25 2008 - 16:09:20 EST


On Sun, 25 May 2008 18:35:39 +0200
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> > So how about linux-2.6.26-gfp-no-oom.patch (see previous mail) for
> > 2.6.26
>
> Changing the gfp once globally like you did is not right, because
> the different fallback cases have to be handled differently
> (see the different cases I discussed in my earlier mail)
>
> Especially the 16MB zone allocation should never trigger the OOM killer.

That depends how much memory you have.

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