• Andrew Morton's avatar
    [PATCH] slab: avoid higher-order allocations · 29d18b52
    Andrew Morton authored
    From: Manfred Spraul <manfred@colorfullife.com>
    
    At present slab is using 2-order allocations for the size-2048 cache.  Of
    course, this can affect networking quite seriously.
    
    The patch ensures that slab will never use more than a 1-order allocation
    for objects which have a size of less than 2*PAGE_SIZE.
    29d18b52
slab.c 75.5 KB