]> err.no Git - linux-2.6/commit
SLUB Debug: Fix object size calculation
authorChristoph Lameter <clameter@sgi.com>
Wed, 23 May 2007 20:57:31 +0000 (13:57 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 24 May 2007 03:14:11 +0000 (20:14 -0700)
commitc12b3c62513ecf95c979d5c1785f99562b9dd10d
treefd6e14ac0c62a0bc6e00d6543f54beea8abb6e8b
parent72fcde966252abd17d70e4e216a0411a34523a8f
SLUB Debug: Fix object size calculation

The object size calculation is wrong if !CONFIG_SLUB_DEBUG because the
#ifdef CONFIG_SLUB_DEBUG is now switching off the size adjustments for
DESTROY_BY_RCU and ctor.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c