slub: pass kmem_cache_cpu pointer to get_partial()
authorChristoph Lameter <cl@linux.com>
Tue, 9 Aug 2011 21:12:25 +0000 (16:12 -0500)
committerPekka Enberg <penberg@kernel.org>
Fri, 19 Aug 2011 16:34:26 +0000 (19:34 +0300)
commitacd19fd1a7b5152cf29f67aaab23aa61078aaa74
tree8695f48ccaa1baa3bc26df2d7b1b0648dd82078b
parente6e82ea1127d899af7eee876f1c1103716d13772
slub: pass kmem_cache_cpu pointer to get_partial()

Pass the kmem_cache_cpu pointer to get_partial(). That way
we can avoid the this_cpu_write() statements.

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