Messages in this thread | | | Date | Sat, 9 May 2009 11:32:49 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 1/2] mm: Introduce GFP_PANIC for early-boot allocations |
| |
* Ingo Molnar <mingo@elte.hu> wrote:
> it is shorter, tidier, more maintainable, more reviewable to write: > > ptr = kmalloc(GFP_BOOT, size); > > than to write: > > ptr = kmalloc(GFP_KERNEL, size); > BUG_ON(!ptr);
[ Oh, and everyone saw the kernel bug i hid, and did notice it in the first variant sooner than in the second, right? :) ]
Ingo
| |