Re: [PATCH] sched/rt: Move cpu rq properties from "struct rt_rq" to "struct rq"

2012-12-21 Thread Steven Rostedt
On Fri, 2012-12-21 at 07:51 -0500, Steven Rostedt wrote: > Now if you want to encapsulate the rt sched group, then you could add a > new struct and put that into the rt_rq struct and use that for all the > group functions. But please don't just cludder the rq struct with rt cludder? I must have a

Re: [PATCH] sched/rt: Move cpu rq properties from "struct rt_rq" to "struct rq"

2012-12-21 Thread Steven Rostedt
On Fri, 2012-12-21 at 10:35 +0400, Kirill Tkhai wrote: > > >entity_1->my_q_1 >/ > / > rq->rt -entity_2->my_q_2 > \ >\

Re: [PATCH] sched/rt: Move cpu rq properties from "struct rt_rq" to "struct rq"

2012-12-20 Thread Kirill Tkhai
21.12.2012, 03:07, "Steven Rostedt" : > On Fri, 2012-12-21 at 02:16 +0400, Kirill Tkhai wrote: > >>  20.12.2012, 21:53, "Thomas Gleixner" : >>>  On Tue, 18 Dec 2012, Kirill Tkhai wrote:   The members rt_nr_total, rt_nr_migratory, overloaded and pushable_tasks are   properties of c

Re: [PATCH] sched/rt: Move cpu rq properties from "struct rt_rq" to "struct rq"

2012-12-20 Thread Steven Rostedt
On Fri, 2012-12-21 at 02:16 +0400, Kirill Tkhai wrote: > 20.12.2012, 21:53, "Thomas Gleixner" : > > On Tue, 18 Dec 2012, Kirill Tkhai wrote: > > > >> The members rt_nr_total, rt_nr_migratory, overloaded and pushable_tasks > >> are > >> properties of cpu runqueue, not group rt_rq. > > > > Why? >

Re: [PATCH] sched/rt: Move cpu rq properties from "struct rt_rq" to "struct rq"

2012-12-20 Thread Kirill Tkhai
20.12.2012, 21:53, "Thomas Gleixner" : > On Tue, 18 Dec 2012, Kirill Tkhai wrote: > >>  The members rt_nr_total, rt_nr_migratory, overloaded and pushable_tasks are >>  properties of cpu runqueue, not group rt_rq. > > Why? Because, they depend on number and properties of all processes of rq, not of

Re: [PATCH] sched/rt: Move cpu rq properties from "struct rt_rq" to "struct rq"

2012-12-20 Thread Thomas Gleixner
On Tue, 18 Dec 2012, Kirill Tkhai wrote: > The members rt_nr_total, rt_nr_migratory, overloaded and pushable_tasks are > properties of cpu runqueue, not group rt_rq. Why? Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] sched/rt: Move cpu rq properties from "struct rt_rq" to "struct rq"

2012-12-18 Thread Kirill Tkhai
The members rt_nr_total, rt_nr_migratory, overloaded and pushable_tasks are properties of cpu runqueue, not group rt_rq. Signed-off-by: Kirill V Tkhai CC: Steven Rostedt CC: Ingo Molnar CC: Peter Zijlstra CC: linux-rt-users --- kernel/sched/core.c |5 kernel/sched/rt.c| 67 +