From: Christoph Lameter Date: Tue, 17 May 2011 21:29:31 +0000 (-0500) Subject: slub: Remove node check in slab_free X-Git-Tag: v3.0-rc1~341^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=442b06bcea23a01934d3da7ec5898fa154a6cafb;p=pandora-kernel.git 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 Signed-off-by: Pekka Enberg --- Reading git-diff-tree failed