aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorYong Zhang <[email protected]>2011-02-20 15:08:14 +0800
committerIngo Molnar <[email protected]>2011-02-23 11:33:59 +0100
commit800d4d30c8f20bd728e5741a3b77c4859a613f7c (patch)
tree1eb329fb8a1dce1c1432c07e19494a3e1fb68499 /tools/perf/util/scripting-engines/trace-event-python.c
parent1747b21fecbfb63fbf6b9624e8b92707960d5a97 (diff)
sched, autogroup: Stop going ahead if autogroup is disabled
when autogroup is disable from the beginning, sched_autogroup_create_attach() autogroup_move_group() <== 1 sched_move_task() <== 2 task_move_group_fair() set_task_rq() task_group() autogroup_task_group() We go the whole path without doing anything useful. Then stop going further if autogroup is disabled. But there will be a race window between 1 and 2, in which sysctl_sched_autogroup_enabled is enabled. This issue will be toke by following patch. Signed-off-by: Yong Zhang <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[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