aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2014-05-27 21:02:04 +0000
committerIngo Molnar <[email protected]>2014-06-05 09:07:41 +0000
commite9dd685ce81815811fb4da72e6ab10a694ac8468 (patch)
treec429c73cf5883cf54aef8b07c71b212c1c708071 /tools/perf/scripts/python/check-perf-trace.py
parentsched: Fix hotplug vs. set_cpus_allowed_ptr() (diff)
downloadkernel-e9dd685ce81815811fb4da72e6ab10a694ac8468.tar.gz
kernel-e9dd685ce81815811fb4da72e6ab10a694ac8468.zip
sched/numa: Fix use of spin_{un}lock_irq() when interrupts are disabled
As Peter Zijlstra told me, we have the following path: do_exit() exit_itimers() itimer_delete() spin_lock_irqsave(&timer->it_lock, &flags); timer_delete_hook(timer); kc->timer_del(timer) := posix_cpu_timer_del() put_task_struct() __put_task_struct() task_numa_free() spin_lock(&grp->lock); Which means that task_numa_free() can be called with interrupts disabled, which means that we should not be using spin_lock_irq() but spin_lock_irqsave() instead. Otherwise we are enabling interrupts while holding an interrupt unsafe lock! Signed-off-by: Steven Rostedt <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner<[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Linus Torvalds <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions