|
@@ -87,8 +87,7 @@ static inline struct autogroup *autogroup_create(void)
|
|
* so we don't have to move tasks around upon policy change,
|
|
* so we don't have to move tasks around upon policy change,
|
|
* or flail around trying to allocate bandwidth on the fly.
|
|
* or flail around trying to allocate bandwidth on the fly.
|
|
* A bandwidth exception in __sched_setscheduler() allows
|
|
* A bandwidth exception in __sched_setscheduler() allows
|
|
- * the policy change to proceed. Thereafter, task_group()
|
|
|
|
- * returns &root_task_group, so zero bandwidth is required.
|
|
|
|
|
|
+ * the policy change to proceed.
|
|
*/
|
|
*/
|
|
free_rt_sched_group(tg);
|
|
free_rt_sched_group(tg);
|
|
tg->rt_se = root_task_group.rt_se;
|
|
tg->rt_se = root_task_group.rt_se;
|
|
@@ -115,9 +114,6 @@ bool task_wants_autogroup(struct task_struct *p, struct task_group *tg)
|
|
if (tg != &root_task_group)
|
|
if (tg != &root_task_group)
|
|
return false;
|
|
return false;
|
|
|
|
|
|
- if (p->sched_class != &fair_sched_class)
|
|
|
|
- return false;
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* We can only assume the task group can't go away on us if
|
|
* We can only assume the task group can't go away on us if
|
|
* autogroup_move_group() can see us on ->thread_group list.
|
|
* autogroup_move_group() can see us on ->thread_group list.
|