diff options
author | Peter Williams <[email protected]> | 2009-09-24 06:47:10 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-10-05 13:42:20 +0200 |
commit | f83f9ac2632732bd1678150b5a03d152f912fe72 (patch) | |
tree | cbf8600bf31cec0cb7d22c02cdcd27d992ba5c84 /tools/perf/scripts/python/Perf-Trace-Util | |
parent | 374576a8b6f865022c0fd1ca62396889b23d66dd (diff) |
sched: Set correct normal_prio and prio values in sched_fork()
normal_prio should be updated if policy changes from RT to
SCHED_MORMAL or if static_prio/nice is changed.
Some paths through sched_fork() ignore this requirement and may
result in normal_prio having an invalid value.
Fixing this issue allows the call to effective_prio() in
wake_up_new_task() to be removed.
Signed-off-by: Peter Williams <[email protected]>
Acked-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/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions