aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/slub_def.h
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2011-05-17 16:29:31 -0500
committerPekka Enberg <penberg@kernel.org>2011-05-21 12:53:53 +0300
commit442b06bcea23a01934d3da7ec5898fa154a6cafb (patch)
treebc08b4a9d7723057a1ff1687a90cdb608b3c8cce /include/linux/slub_def.h
parentslub: avoid label inside conditional (diff)
downloadlinux-dev-442b06bcea23a01934d3da7ec5898fa154a6cafb.tar.xz
linux-dev-442b06bcea23a01934d3da7ec5898fa154a6cafb.zip
slub: Remove node check in slab_free
We can set the page pointing in the percpu structure to NULL to have the same effect as setting c->node to NUMA_NO_NODE. Gets rid of one check in slab_free() that was only used for forcing the slab_free to the slowpath for debugging. We still need to set c->node to NUMA_NO_NODE to force the slab_alloc() fastpath to the slowpath in case of debugging. 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