Re: [PATCH] sched/rt: Fix rq's cpupri leak while enqueue/dequeue child RT entities

2013-12-17 Thread Kirill Tkhai
17.12.2013, 16:47, "Peter Zijlstra" : > On Tue, Dec 17, 2013 at 04:02:58PM +0400, Kirill Tkhai wrote: > >>  13.12.2013, 19:42, "Peter Zijlstra" : >>>  On Wed, Nov 27, 2013 at 07:59:13PM +0400, Kirill Tkhai wrote:   This patch touches RT group scheduling case.   Functions inc_rt_prio_

Re: [PATCH] sched/rt: Fix rq's cpupri leak while enqueue/dequeue child RT entities

2013-12-17 Thread Peter Zijlstra
On Tue, Dec 17, 2013 at 04:02:58PM +0400, Kirill Tkhai wrote: > > > 13.12.2013, 19:42, "Peter Zijlstra" : > > On Wed, Nov 27, 2013 at 07:59:13PM +0400, Kirill Tkhai wrote: > > > >>  This patch touches RT group scheduling case. > >> > >>  Functions inc_rt_prio_smp() and dec_rt_prio_smp() change (g

Re: [PATCH] sched/rt: Fix rq's cpupri leak while enqueue/dequeue child RT entities

2013-12-17 Thread Kirill Tkhai
13.12.2013, 19:42, "Peter Zijlstra" : > On Wed, Nov 27, 2013 at 07:59:13PM +0400, Kirill Tkhai wrote: > >>  This patch touches RT group scheduling case. >> >>  Functions inc_rt_prio_smp() and dec_rt_prio_smp() change (global) rq's >> priority, >>  while rt_rq passed to them may be not the top-le

Re: [PATCH] sched/rt: Fix rq's cpupri leak while enqueue/dequeue child RT entities

2013-12-13 Thread Peter Zijlstra
On Wed, Nov 27, 2013 at 07:59:13PM +0400, Kirill Tkhai wrote: > This patch touches RT group scheduling case. > > Functions inc_rt_prio_smp() and dec_rt_prio_smp() change (global) rq's > priority, > while rt_rq passed to them may be not the top-level rt_rq. This is wrong, > because > changing of

Re: [PATCH] sched/rt: Fix rq's cpupri leak while enqueue/dequeue child RT entities

2013-12-12 Thread Kirill Tkhai
Ping! 27.11.2013, 19:59, "Kirill Tkhai" : > This patch touches RT group scheduling case. > > Functions inc_rt_prio_smp() and dec_rt_prio_smp() change (global) rq's > priority, > while rt_rq passed to them may be not the top-level rt_rq. This is wrong, > because > changing of priority on a child

[PATCH] sched/rt: Fix rq's cpupri leak while enqueue/dequeue child RT entities

2013-11-27 Thread Kirill Tkhai
This patch touches RT group scheduling case. Functions inc_rt_prio_smp() and dec_rt_prio_smp() change (global) rq's priority, while rt_rq passed to them may be not the top-level rt_rq. This is wrong, because changing of priority on a child level does not guarantee that the priority is the highest