On Fri, 2012-12-21 at 10:35 +0400, Kirill Tkhai wrote: > > > entity_1->my_q_1 > / > / > rq->rt -entity_2->my_q_2 > \ > \ > entity_n->my_q_n > > > I say about child rt_rqs (my_q_1....my_q_n). They don't have rt_nr_total, > rt_nr_migratory, overloaded and pushable_tasks. > The only use of overloaded, for example, is "rq->rt.overloaded". The same > with other variables.
You're missing the point. rt_rq is not just for entities, it's the encapsulation of the rt class. 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 specific data. The rt_rq was created as a container for the rt class. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/