aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2010-11-09 13:36:52 +0000
committerIngo Molnar <[email protected]>2010-11-10 22:13:58 +0000
commit2d46709082c062cae7cce1a15f8cd4cd81b92d88 (patch)
tree8222a0f18aca8a91c7929264d83bf6010a905993 /tools/perf/scripts/python/sctop.py
parentsched: Use group weight, idle cpu metrics to fix imbalances during idle (diff)
downloadkernel-2d46709082c062cae7cce1a15f8cd4cd81b92d88.tar.gz
kernel-2d46709082c062cae7cce1a15f8cd4cd81b92d88.zip
sched: Fix runnable condition for stoptask
Heiko reported that the TASK_RUNNING check is not sufficient for CONFIG_PREEMPT=y since we can get preempted with !TASK_RUNNING. He suggested adding a ->se.on_rq test to the existing TASK_RUNNING one, however TASK_RUNNING will always have ->se.on_rq, so we might as well reduce that to a single test. [ stop tasks should never get preempted, but its good to handle this case correctly should this ever happen ] Reported-by: Heiko Carstens <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions