sh: Kill off pmb slab cache destructor.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 11 May 2007 02:26:10 +0000 (11:26 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 14 May 2007 00:18:34 +0000 (09:18 +0900)
commit38c425f69c8d949620384f917e00652eaf390ec9
tree0e4cbaf7e1be44c92db0587d77fc8e4f70227db1
parent0facbe3a34556bbc30333971e32c5430b087fcb1
sh: Kill off pmb slab cache destructor.

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: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/pmb.c