diff options
| author | Peter Zijlstra <[email protected]> | 2014-05-12 20:50:34 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-05-22 08:21:26 +0000 |
| commit | ce5f7f8200ca2504f6f290044393d73ca314965a (patch) | |
| tree | c82c7cb66b268676f8da0e3801c5ce1240ce693c /tools/perf/scripts/python/sctop.py | |
| parent | sched: Disallow sched_attr::sched_policy < 0 (diff) | |
| download | kernel-ce5f7f8200ca2504f6f290044393d73ca314965a.tar.gz kernel-ce5f7f8200ca2504f6f290044393d73ca314965a.zip | |
sched/deadline: Change sched_getparam() behaviour vs SCHED_DEADLINE
The way we read POSIX one should only call sched_getparam() when
sched_getscheduler() returns either SCHED_FIFO or SCHED_RR.
Given that we currently return sched_param::sched_priority=0 for all
others, extend the same behaviour to SCHED_DEADLINE.
Requested-by: Michael Kerrisk <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Michael Kerrisk <[email protected]>
Cc: Dario Faggioli <[email protected]>
Cc: linux-man <[email protected]>
Cc: "Michael Kerrisk (man-pages)" <[email protected]>
Cc: Juri Lelli <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
