• Andrew Morton's avatar
    [PATCH] fix suppression of page allocation failure warnings · d51832f3
    Andrew Morton authored
    Somebody somewhere is stomping on PF_NOWARN, and page allocation
    failure warnings are coming out of the wrong places.
    
    So change the handling of current->flags to be:
    
    int pf_flags = current->flags;
    
    current->flags |= PF_NOWARN;
    ...
    current->flags = pf_flags;
    
    which is a generally more robust approach.
    d51832f3
mempool.c 7.37 KB