]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SLUB: Simplify debug code
authorChristoph Lameter <clameter@sgi.com>
Thu, 17 May 2007 05:11:00 +0000 (22:11 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 17 May 2007 12:23:04 +0000 (05:23 -0700)
commit3ec0974210fe1b7c0618ad6e39a882a4237d7de2
treea707c84e2dc18cfba9a44e198a44fbb2605f771c
parenta35afb830f8d71ec211531aeb9a621b09a2efb39
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>
mm/slub.c