slub: Use kmem_cache flags to detect if slab is in debugging mode.
commitaf537b0a6c650ab6ff7104d8163e96866b31c835
authorChristoph Lameter <cl@linux-foundation.org>
Fri, 9 Jul 2010 19:07:14 +0000 (9 14:07 -0500)
committerPekka Enberg <penberg@cs.helsinki.fi>
Fri, 16 Jul 2010 08:13:08 +0000 (16 11:13 +0300)
tree31d756ebce6ac6613b42a1aa5b1f5a80a7d76fe7
parentf5b801ac38a9612b380ee9a75ab1861f0594e79f
slub: Use kmem_cache flags to detect if slab is in debugging mode.

The cacheline with the flags is reachable from the hot paths after the
percpu allocator changes went in. So there is no need anymore to put a
flag into each slab page. Get rid of the SlubDebug flag and use
the flags in kmem_cache instead.

Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
include/linux/page-flags.h
mm/slub.c