Messages in this thread | | | Date | Mon, 4 May 2009 09:47:45 -0400 (EDT) | From | Christoph Lameter <> | Subject | Re: [PATCH -tip] mm: introduce __GFP_PANIC modifier |
| |
Could you try to avoid consuming another GFP flag? __GFP_BITS_SHIFT is used elsewhere to figure out where to put miscellanous flags into the gfp mask. This is pretty limited right now and so the patch does work.
But maybe we can combine some flags __GFP_NOFAIL | __GFP_REPEAT or so?
__GFP_NOFAIL already has the semantics that the allocation cannot fail and that the page allocator must never return NULL.
| |