diff options
author | Christoph Lameter <cl@linux.com> | 2011-07-14 12:49:12 -0500 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-07-18 15:17:02 +0300 |
commit | 1d07171c5e58e68a76a141970a3a5e816a414ce6 (patch) | |
tree | 9a8dcbf464b150d68daf0295e1ce644c1ec6d987 /mm/migrate.c | |
parent | 013e896373fc53f3d3c039364a25ccbd1fc0729a (diff) | |
download | op-kernel-dev-1d07171c5e58e68a76a141970a3a5e816a414ce6.zip op-kernel-dev-1d07171c5e58e68a76a141970a3a5e816a414ce6.tar.gz |
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/migrate.c')
0 files changed, 0 insertions, 0 deletions