• Andrew Morton's avatar
    [PATCH] Avoid recursion in the page allocator · 2a6c8678
    Andrew Morton authored
    The PF_MEMALLOC handling got broken somewhere, and it is now possible
    for a PF_MEMALLOC process to reenter page reclaim.
    
    Change it to fail the allocation if we're PF_MEMALLOC and there are
    zero pages free.
    2a6c8678
page_alloc.c 34.1 KB