diff options
author | Venkatesh Pallipadi <[email protected]> | 2011-04-13 18:21:09 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-04-19 10:08:37 +0200 |
commit | 69c80f3e9d3c569f8a3cee94ba1a324b5a7fa6b9 (patch) | |
tree | d802b0ade642dcad187384da9b5312d90e47ea45 /tools/perf/scripts/python/sched-migration.py | |
parent | 6ddafdaab3f809b110ada253d2f2d4910ebd3ac5 (diff) |
sched: Make set_*_buddy() work on non-task entities
Make set_*_buddy() work on non-task sched_entity, to facilitate the
use of next_buddy to cache a group entity in cases where one of the
tasks within that entity sleeps or gets preempted.
set_skip_buddy() was incorrectly comparing the policy of task that is
yielding to be not equal to SCHED_IDLE. Yielding should happen even
when task yielding is SCHED_IDLE. This change removes the policy check
on the yielding task.
Signed-off-by: Venkatesh Pallipadi <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions