slub: fast release on full slab
authorChristoph Lameter <cl@linux.com>
Wed, 1 Jun 2011 17:25:58 +0000 (12:25 -0500)
committerPekka Enberg <penberg@kernel.org>
Sat, 2 Jul 2011 10:26:57 +0000 (13:26 +0300)
commit03e404af26dc2ea0d278d7a342de0aab394793ce
tree1290b42700767c661125aaf584253bdeb98b7afd
parente36a2652d7d1ad97f7636a39bdd8654d296cc36b
slub: fast release on full slab

Make deactivation occur implicitly while checking out the current freelist.

This avoids one cmpxchg operation on a slab that is now fully in use.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
include/linux/slub_def.h
mm/slub.c