[Devel] [PATCH RH7] ve/sched: remove no ve root cgroup warning
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Tue Nov 7 14:31:48 MSK 2017
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 at virtuozzo.com>
---
kernel/sched/core.c | 1 -
1 file changed, 1 deletion(-)
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;
}
--
2.13.5
More information about the Devel
mailing list