aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2011-12-07 14:32:08 +0100
committerIngo Molnar <[email protected]>2011-12-08 05:45:48 +0100
commit067491b7313c41f49607fce782d29344d1472587 (patch)
tree06f6352372038f7f4171c8d8fc869e686665d32f /tools/perf/scripts/python/sctop.py
parentcd490c5b285544dc1319cf79c2ca0528a6447f61 (diff)
sched, nohz: Fix missing RCU read lock
Yong Zhang reported: > [ INFO: suspicious RCU usage. ] > kernel/sched/fair.c:5091 suspicious rcu_dereference_check() usage! This is due to the sched_domain stuff being RCU protected and commit 0b005cf5 ("sched, nohz: Implement sched group, domain aware nohz idle load balancing") overlooking this fact. The sd variable only lives inside the for_each_domain() block, so we only need to wrap that. Reported-by: Yong Zhang <[email protected]> Tested-by: Yong Zhang <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Suresh Siddha <[email protected]> Link: http://lkml.kernel.org/r/1323264728.32012.107.camel@twins Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions