aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRik van Riel <[email protected]>2011-02-01 09:47:15 -0500
committerIngo Molnar <[email protected]>2011-02-03 14:20:32 +0100
commit725e7580aaf98e9f7b22b8ccfc640ad0c09e2b08 (patch)
tree8717e0fce19f74509ac1dffa91be95c3ef76c1e5 /tools/perf/util/scripting-engines/trace-event-python.c
parent6ea72f12069306b235151c5b05ac0cca7e1dedfa (diff)
sched: Check the right ->nr_running in yield_task_fair()
With CONFIG_FAIR_GROUP_SCHED, each task_group has its own cfs_rq. Yielding to a task from another cfs_rq may be worthwhile, since a process calling yield typically cannot use the CPU right now. Therefor, we want to check the per-cpu nr_running, not the cgroup local one. Signed-off-by: Rik van Riel <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions