[RH7] ve/sched: remove no ve root cgroup warning

Submitted by Pavel Tikhomirov on Nov. 7, 2017, 11:31 a.m.

Details

Message ID 20171107113148.15647-1-ptikhomirov@virtuozzo.com
State New
Series "ve/sched: remove no ve root cgroup warning"
Headers show

Commit Message

Pavel Tikhomirov Nov. 7, 2017, 11:31 a.m.
We can get to ve_root_tg() from host's cgroup so it is expected
to have no ve root cgroup for it. Call stack on task wakeup:

wake_up_process -> try_to_wake_up -> select_task_rq_fair
-> select_runnable_cpu -> check_cpulimit_spread -> tg_cpu_rate
-> ve_root_tg

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
---
 kernel/sched/core.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 5b3daa139638..2d258b92529d 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -349,7 +349,6 @@  static struct task_group *ve_root_tg(struct task_group *tg) {
 		return NULL;
 
 	cg = cgroup_get_ve_root(tg->css.cgroup);
-	WARN_ONCE(!cg, "Failed to find ve root cgroup, possible container configuration problem.\n");
 	return cg ? cgroup_tg(cg) : NULL;
 }