summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorChristoph Lameter2007-05-17 07:11:00 +0200
committerLinus Torvalds2007-05-17 14:23:04 +0200
commit3ec0974210fe1b7c0618ad6e39a882a4237d7de2 (patch)
treea707c84e2dc18cfba9a44e198a44fbb2605f771c /mm/slab.c
parentRemove SLAB_CTOR_CONSTRUCTOR (diff)
downloadkernel-qcow2-linux-3ec0974210fe1b7c0618ad6e39a882a4237d7de2.tar.gz
kernel-qcow2-linux-3ec0974210fe1b7c0618ad6e39a882a4237d7de2.tar.xz
kernel-qcow2-linux-3ec0974210fe1b7c0618ad6e39a882a4237d7de2.zip
SLUB: Simplify debug code
Consolidate functionality into the #ifdef section. Extract tracing into one subroutine. Move object debug processing into the #ifdef section so that the code in __slab_alloc and __slab_free becomes minimal. Reduce number of functions we need to provide stubs for in the !SLUB_DEBUG case. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions