diff options
author | Christoph Lameter <[email protected]> | 2011-07-14 12:49:12 -0500 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2011-07-18 15:17:02 +0300 |
commit | 1d07171c5e58e68a76a141970a3a5e816a414ce6 (patch) | |
tree | 9a8dcbf464b150d68daf0295e1ce644c1ec6d987 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 013e896373fc53f3d3c039364a25ccbd1fc0729a (diff) |
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 <[email protected]>
Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions