• Andrew Morton's avatar
    [PATCH] kmem_cache_destroy fix · 3b5c86dd
    Andrew Morton authored
    Slab currently has a policy of buffering a single spare page per slab.
    We're putting that on the partially-full list, which confuses
    kmem_cache_destroy().
    
    So put it on cachep->slabs_free, which is where empty pages go.
    3b5c86dd
slab.c 53 KB