]> git.baikalelectronics.ru Git - kernel.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)
commit764cf9720829a610970d513d5bff8fa065201138
treea707c84e2dc18cfba9a44e198a44fbb2605f771c
parentcc4ddf59c84769ed05f52c9613aa5fb01de104c5
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