aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2010-02-22 17:05:03 -0800
committerIngo Molnar <[email protected]>2010-02-25 10:34:59 +0100
commit3acd9eb31c5f7eb97cb2009fa41472710fb4a10f (patch)
treea339775ed9683bdf0f4d7b47a75648a6f86a8446 /tools/perf/scripts/python/check-perf-trace.py
parent1304afb225288a2e250d6a7495462c28e5509cbb (diff)
rcu: Fix deadlock in TREE_PREEMPT_RCU CPU stall detection
Under TREE_PREEMPT_RCU, print_other_cpu_stall() invokes rcu_print_task_stall() with the root rcu_node structure's ->lock held, and rcu_print_task_stall() acquires that same lock for self-deadlock. Fix this by removing the lock acquisition from rcu_print_task_stall(), and making all callers acquire the lock instead. Tested-by: John Kacur <[email protected]> Tested-by: Thomas Gleixner <[email protected]> Located-by: Thomas Gleixner <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] LKML-Reference: <[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