• Andrew Morton's avatar
    [PATCH] nr_slab accounting fix · d71abcaf
    Andrew Morton authored
    From: Manfred Spraul <manfred@colorfullife.com>
    
    if alloc_slabmgmt fails, then kmem_freepages() calls sub_page_state(),
    altough nr_slab was not yet increased.  The attached patch fixes that by
    moving the inc_page_state into kmem_getpages().
    d71abcaf
slab.c 73.8 KB