diff options
author | Christoph Lameter <cl@linux.com> | 2012-05-30 12:54:46 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2012-08-16 09:45:04 +0300 |
commit | 19c7ff9ecd89441096dab6a56f926f7df8ba850a (patch) | |
tree | 61bc27b47eb4867252b4d6aaa9c0ae99994b7556 /net/ethernet | |
parent | 455ce9eb1cfa083da0def023094190aeb133855a (diff) | |
download | linux-19c7ff9ecd89441096dab6a56f926f7df8ba850a.tar.gz linux-19c7ff9ecd89441096dab6a56f926f7df8ba850a.tar.bz2 linux-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 'net/ethernet')
0 files changed, 0 insertions, 0 deletions