Skip to content
Commit 6047a007 authored by Pekka Enberg's avatar Pekka Enberg
Browse files

SLUB: Use ->objsize from struct kmem_cache_cpu in slab_free()



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: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent a6525042
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment