On Tue, 2011-01-04 at 16:55 +0100, Dario Faggioli wrote:
Just like its now, keep a sched_entity per class.
struct task_group {
#ifdef CONFIG_FAIR_GROUP_SCHED
struct sched_entity **cfs_se;
...
#endif
#ifdef CONFIG_RT_GROUP_SCHED
struct sched_entity **rt_se;
...
#endif
}
Yay!
I see once clash with my current ttwu patch set though, see:
http://lkml.org/lkml/2011/1/4/228
But that should be easy to resolve.
--