Re: [PATCH 2/2] SLUB: Use GFP_PANIC for early-boot allocations

From: Pekka Enberg
Date: Fri May 08 2009 - 11:37:14 EST


On Fri, 2009-05-08 at 11:28 -0400, Christoph Lameter wrote:
> On Fri, 8 May 2009, Pekka Enberg wrote:
>
> > This patch converts SLUB early-boot code to use GFP_PANIC instead of explicit
> > BUG_ON() calls.
>
> Yirks this is not only early boot code. create_unique_id may be executed
> whenever a slab is created.

Argh. We should do -ENOMEM there then. I'll drop that hunk.

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