[Devel] [PATCH RH7] ve/cgroup: fixup for " ve/cgroup: do not link a CT cpu cgroup twice into ve_root_list"

Vasily Averin vvs at virtuozzo.com
Sat Jul 4 13:39:32 MSK 2020


load_ve_lock was defined twice due to mistake during rebase to RHEL7.7

https://jira.sw.ru/browse/PSBM-105237
Signed-off-by: Vasily Averin <vvs 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 3fe0d62cc51c..fdb0e8cff60d 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -2955,7 +2955,6 @@ static DEFINE_SPINLOCK(load_ve_lock);
 
 void calc_load_ve(void)
 {
-	static DEFINE_SPINLOCK(load_ve_lock);
 	unsigned long nr_unint, nr_active;
 	struct task_group *tg;
 	int i;
-- 
2.17.1



More information about the Devel mailing list