diff options
author | Peter Zijlstra <[email protected]> | 2014-05-12 22:50:34 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-05-22 10:21:26 +0200 |
commit | ce5f7f8200ca2504f6f290044393d73ca314965a (patch) | |
tree | c82c7cb66b268676f8da0e3801c5ce1240ce693c /net/unix/af_unix.c | |
parent | dbdb22754fde671dc93d2fae06f8be113d47f2fb (diff) |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions