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

Christoph Lameter
2009-05-08T15:38:56Z

On Fri, 8 May 2009, Pekka Enberg wrote:

> From: Pekka Enberg <penberg@cs.helsinki.fi>
>
> 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.