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)
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

Simple merge
diff --cc mm/slub.c
Simple merge