• Paul Mundt's avatar
    sh: Kill off pmb slab cache destructor. · 38c425f6
    Paul Mundt authored
    This is the last remaining slab destructor in the kernel, which
    we kill off and move the resultant list tracking logic up to
    the pmb_alloc()/pmb_free() paths.
    
    As Christoph Lameter pointed out, it's potentially unsafe to be
    taking the list lock in the destructor anyways, so this is also
    more fundamentally correct.
    
    With this in place, we're all set for killing off slab destructors
    from the kernel entirely.
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    38c425f6
pmb.c 8.5 KB