slub: get_map() function to establish map of free objects in a slab
commit5f80b13ae45df7da6646d1881da186318e70b6b6
authorChristoph Lameter <cl@linux.com>
Fri, 15 Apr 2011 19:48:13 +0000 (15 14:48 -0500)
committerPekka Enberg <penberg@kernel.org>
Sun, 17 Apr 2011 11:03:19 +0000 (17 14:03 +0300)
tree2c249101bc1bf0020268ca31d09ae198a7031cb1
parent33de04ec4cb80b6bd0782e88a64954e60bc15dc1
slub: get_map() function to establish map of free objects in a slab

The bit map of free objects in a slab page is determined in various functions
if debugging is enabled.

Provide a common function for that purpose.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c