Re: [PATCH 1/2] mm: Introduce GFP_PANIC for early-boot allocations

From: Christoph Lameter
Date: Fri May 08 2009 - 11:38:58 EST


On Fri, 8 May 2009, Pekka Enberg wrote:

> From: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
>
> This patch introduces a GFP_PANIC flag that can be used as an annotation
> that an early-boot call to kmalloc() or alloc_pages() is expected to
> never fail.

I think the early-boot requirement needs to be dropped. Make this safe to
be used at anytime.
--
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/