Re:[PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-19 Thread Kirill Tkhai
> On 03/18/2014 05:14 PM, Kirill Tkhai wrote: > >> 18.03.2014, 15:08, "Preeti Murthy" : >> >>> On Sat, Mar 15, 2014 at 3:44 AM, Kirill Tkhai wrote: >>> {inc,dec}_rt_tasks used to count entities which are directly queued on rt_rq. If an entity was not a task (i.e., it is some queue),

Re: [PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-19 Thread Preeti U Murthy
On 03/18/2014 05:14 PM, Kirill Tkhai wrote: > > > 18.03.2014, 15:08, "Preeti Murthy" : >> On Sat, Mar 15, 2014 at 3:44 AM, Kirill Tkhai wrote: >> >>> {inc,dec}_rt_tasks used to count entities which are directly queued >>> on rt_rq. If an entity was not a task (i.e., it is some queue), its >>>

Re: [PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-19 Thread Preeti U Murthy
On 03/18/2014 05:14 PM, Kirill Tkhai wrote: 18.03.2014, 15:08, Preeti Murthy preeti.l...@gmail.com: On Sat, Mar 15, 2014 at 3:44 AM, Kirill Tkhai tk...@yandex.ru wrote: {inc,dec}_rt_tasks used to count entities which are directly queued on rt_rq. If an entity was not a task (i.e., it is

Re:[PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-19 Thread Kirill Tkhai
On 03/18/2014 05:14 PM, Kirill Tkhai wrote: 18.03.2014, 15:08, Preeti Murthy preeti.l...@gmail.com: On Sat, Mar 15, 2014 at 3:44 AM, Kirill Tkhai tk...@yandex.ru wrote: {inc,dec}_rt_tasks used to count entities which are directly queued on rt_rq. If an entity was not a task (i.e., it is

Re: [PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-18 Thread Kirill Tkhai
18.03.2014, 15:08, "Preeti Murthy" : > On Sat, Mar 15, 2014 at 3:44 AM, Kirill Tkhai wrote: > >>  {inc,dec}_rt_tasks used to count entities which are directly queued >>  on rt_rq. If an entity was not a task (i.e., it is some queue), its >>  children were not counted. > > Its always the case

Re: [PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-18 Thread Preeti Murthy
On Sat, Mar 15, 2014 at 3:44 AM, Kirill Tkhai wrote: > {inc,dec}_rt_tasks used to count entities which are directly queued > on rt_rq. If an entity was not a task (i.e., it is some queue), its > children were not counted. Its always the case that a task is queued right, never a sched entity?

Re: [PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-18 Thread Preeti Murthy
On Sat, Mar 15, 2014 at 3:44 AM, Kirill Tkhai tk...@yandex.ru wrote: {inc,dec}_rt_tasks used to count entities which are directly queued on rt_rq. If an entity was not a task (i.e., it is some queue), its children were not counted. Its always the case that a task is queued right, never a sched

Re: [PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-18 Thread Kirill Tkhai
18.03.2014, 15:08, Preeti Murthy preeti.l...@gmail.com: On Sat, Mar 15, 2014 at 3:44 AM, Kirill Tkhai tk...@yandex.ru wrote:  {inc,dec}_rt_tasks used to count entities which are directly queued  on rt_rq. If an entity was not a task (i.e., it is some queue), its  children were not counted.

[PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-14 Thread Kirill Tkhai
{inc,dec}_rt_tasks used to count entities which are directly queued on rt_rq. If an entity was not a task (i.e., it is some queue), its children were not counted. There is no problem here, but now we want to count number of all tasks which are actually queued under the rt_rq in all the hierarhy

[PATCH 1/4] sched/rt: Sum number of all children tasks in hierarhy at rt_nr_running

2014-03-14 Thread Kirill Tkhai
{inc,dec}_rt_tasks used to count entities which are directly queued on rt_rq. If an entity was not a task (i.e., it is some queue), its children were not counted. There is no problem here, but now we want to count number of all tasks which are actually queued under the rt_rq in all the hierarhy