]> git.baikalelectronics.ru Git - kernel.git/commit
slub: Use kmem_cache flags to detect if slab is in debugging mode.
authorChristoph Lameter <cl@linux-foundation.org>
Fri, 9 Jul 2010 19:07:14 +0000 (14:07 -0500)
committerPekka Enberg <penberg@cs.helsinki.fi>
Fri, 16 Jul 2010 08:13:08 +0000 (11:13 +0300)
commitb3c455bd129ac80ae0c0d563386c171e269f3e67
tree31d756ebce6ac6613b42a1aa5b1f5a80a7d76fe7
parentda3b190c6c023eb61a866a1b65437e2e18941dcc
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