aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/slub_def.h
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2011-07-22 09:35:14 -0500
committerPekka Enberg <penberg@kernel.org>2011-07-25 20:58:19 +0300
commit9e577e8b46ab0c38970c0f0cd7eae62e6dffddee (patch)
tree068d8d50963b53a8ce25470328ff6ebe5a51b198 /include/linux/slub_def.h
parentslub: disable interrupts in cmpxchg_double_slab when falling back to pagelock (diff)
downloadlinux-dev-9e577e8b46ab0c38970c0f0cd7eae62e6dffddee.tar.xz
linux-dev-9e577e8b46ab0c38970c0f0cd7eae62e6dffddee.zip
slub: When allocating a new slab also prep the first object
We need to branch to the debug code for the first object if we allocate a new slab otherwise the first object will be marked wrongly as inactive. Tested-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'include/linux/slub_def.h')
0 files changed, 0 insertions, 0 deletions