]> git.baikalelectronics.ru Git - kernel.git/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)
commitfb2c7139857745b7ca24f2c3bd17444330cece79
treefd6e14ac0c62a0bc6e00d6543f54beea8abb6e8b
parent0af8aea3abd224908b7d8bcdbd12856850caf958
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