[Devel] [PATCH RHEL7 COMMIT] ve/sched: remove no ve root cgroup warning
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Nov 7 15:34:15 MSK 2017
The commit is pushed to "branch-rh7-3.10.0-693.1.1.vz7.37.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.1.1.vz7.37.23
------>
commit 31659699d99c1af8cc90a8e1b0212168aee1c981
Author: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
Date: Tue Nov 7 15:34:15 2017 +0300
ve/sched: remove no ve root cgroup warning
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
Fixes: e661261 ("ve/sched: take nr_cpus and cpu_rate from ve root task group")
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 5b3daa1..2d258b9 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;
}
More information about the Devel
mailing list