SLUB: add macros for scanning objects in a slab
authorChristoph Lameter <clameter@sgi.com>
Wed, 9 May 2007 09:32:40 +0000 (02:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:45 +0000 (12:30 -0700)
commit7656c72b5a631452ace361037ccf8384454d0f72
treede14c2fe8b9145f8c618f2e11b6ebc2d2e047de0
parent672bba3a4b2e65ed95ebd0cf764bd628bd1da74f
SLUB: add macros for scanning objects in a slab

Scanning of objects happens in a number of functions.  Consolidate that code.
DECLARE_BITMAP instead of coding the declaration for bitmaps.

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