summaryrefslogtreecommitdiffstats
path: root/mm/pagewalk.c
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2011-07-14 12:49:12 -0500
committerPekka Enberg <penberg@kernel.org>2011-07-18 15:17:02 +0300
commit1d07171c5e58e68a76a141970a3a5e816a414ce6 (patch)
tree9a8dcbf464b150d68daf0295e1ce644c1ec6d987 /mm/pagewalk.c
parent013e896373fc53f3d3c039364a25ccbd1fc0729a (diff)
downloadlinux-stable-1d07171c5e58e68a76a141970a3a5e816a414ce6.tar.gz
linux-stable-1d07171c5e58e68a76a141970a3a5e816a414ce6.tar.bz2
linux-stable-1d07171c5e58e68a76a141970a3a5e816a414ce6.zip
slub: disable interrupts in cmpxchg_double_slab when falling back to pagelock
Split cmpxchg_double_slab into two functions. One for the case where we know that interrupts are disabled (and therefore the fallback does not need to disable interrupts) and one for the other cases where fallback will also disable interrupts. This fixes the issue that __slab_free called cmpxchg_double_slab in some scenarios without disabling interrupts. Tested-by: Hugh Dickins <hughd@google.com> Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions