slub: Switch per cpu partial page support off for debugging
authorChristoph Lameter <cl@linux.com>
Wed, 23 Nov 2011 15:24:27 +0000 (09:24 -0600)
committerPekka Enberg <penberg@kernel.org>
Tue, 13 Dec 2011 20:14:02 +0000 (22:14 +0200)
commit8f1e33daeda6cd89753f9e77d174805a6f21db09
tree46fa0c7c64953ba12e73c30ad31fc1b10b5af785
parentdc47ce90c3a822cd7c9e9339fe4d5f61dcb26b50
slub: Switch per cpu partial page support off for debugging

Eric saw an issue with accounting of slabs during validation. Its not
possible to determine accurately how many per cpu partial slabs exist at
any time so this switches off per cpu partial pages during debug.

Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c