slub: remove object activities out of checking functions
authorChristoph Lameter <clameter@sgi.com>
Sun, 6 May 2007 21:49:47 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:54 +0000 (12:12 -0700)
commit70d71228af9360cc4a0198ecd6351a1b34fa6d01
treead85cc79ad684062cbb3cf2e56fafa7d3df65ee1
parent2086d26a05a4b5bda4a2f677bc143933bbdfa9f8
slub: remove object activities out of checking functions

Make sure that the check function really only check things and do not perform
activities.  Extract the tracing and object seeding out of the two check
functions and place them into slab_alloc and slab_free

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