SLUB: Use ->objsize from struct kmem_cache_cpu in slab_free()
authorPekka Enberg <penberg@cs.helsinki.fi>
Wed, 14 Jan 2009 10:22:25 +0000 (12:22 +0200)
committerPekka Enberg <penberg@cs.helsinki.fi>
Wed, 14 Jan 2009 15:04:59 +0000 (17:04 +0200)
There's no reason to use ->objsize from struct kmem_cache in slab_free() for
the SLAB_DEBUG_OBJECTS case. All it does is generate extra cache pressure as we
try very hard not to touch struct kmem_cache in the fast-path.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c

diff --cc mm/slub.c
Simple merge