On Thu, Dec 27, 2007 at 12:28:14PM -0800, Christoph Lameter wrote:
Don't bother with separate allocation.
a) remove symlink when slab goes away
b) instead of kfree() in slab removal do kobject_put() if you have sysfs stuff
c) have ->release() of these kobjects do kfree()
--