Re: [PATCH] sched: Document that RT task priorities are 1…99

2019-06-17 Thread Peter Zijlstra
On Wed, Apr 03, 2019 at 11:08:21PM +0200, Sebastian Andrzej Siewior wrote: > John identified three files which claim that RT task priorities start at > zero. As far as I understand, 0 is used for DL and has nothing to do > wihich RT priorities as identified by the RT policy. > > Correct the commen

Re: [PATCH] sched: Document that RT task priorities are 1…99

2019-04-04 Thread John Ogness
On 2019-04-03, John Ogness wrote: > IMHO it is a bit crazy that userspace RT prio 99 maps to kernel prio > 0. This leaves a hole at kernel prio 99. Wouldn't it be better just to > map userspace RT prio 1-99 to kernel prio 99-1? FWIW, the current mapping: userspace kernel

Re: [PATCH] sched: Document that RT task priorities are 1…99

2019-04-03 Thread John Ogness
On 2019-04-03, Sebastian Andrzej Siewior wrote: > John identified three files which claim that RT task priorities start at > zero. As far as I understand, 0 is used for DL and has nothing to do > wihich RT priorities as identified by the RT policy. > > Correct the comment, valid RT priorities are

[PATCH] sched: Document that RT task priorities are 1…99

2019-04-03 Thread Sebastian Andrzej Siewior
John identified three files which claim that RT task priorities start at zero. As far as I understand, 0 is used for DL and has nothing to do wihich RT priorities as identified by the RT policy. Correct the comment, valid RT priorities are in the range from 1 to 99. Reported-by: John Ogness Sign