aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab_common.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2012-05-30 12:54:46 -0500
committerPekka Enberg <penberg@kernel.org>2012-08-16 09:45:04 +0300
commit19c7ff9ecd89441096dab6a56f926f7df8ba850a (patch)
tree61bc27b47eb4867252b4d6aaa9c0ae99994b7556 /mm/slab_common.c
parentmm/slab_common.c: cleanup (diff)
downloadlinux-dev-19c7ff9ecd89441096dab6a56f926f7df8ba850a.tar.xz
linux-dev-19c7ff9ecd89441096dab6a56f926f7df8ba850a.zip
slub: Take node lock during object free checks
Only applies to scenarios where debugging is on: Validation of slabs can currently occur while debugging information is updated from the fast paths of the allocator. This results in various races where we get false reports about slab metadata not being in order. This patch makes the fast paths take the node lock so that serialization with slab validation will occur. Causes additional slowdown in debug scenarios. Reported-by: Waiman Long <Waiman.Long@hp.com> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions