[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-f4d6f6c2649c2c47261db4dcc3110d6f22202ea2@git.kernel.org>
Date: Fri, 18 Nov 2011 15:42:57 -0800
From: tip-bot for Glauber Costa <glommer@...allels.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
a.p.zijlstra@...llo.nl, glommer@...allels.com, pjt@...gle.com,
tglx@...utronix.de, paul@...lmenage.org, mingo@...e.hu
Subject: [tip:sched/core] sched, trivial: Initialize root cgroup's sibling list
Commit-ID: f4d6f6c2649c2c47261db4dcc3110d6f22202ea2
Gitweb: http://git.kernel.org/tip/f4d6f6c2649c2c47261db4dcc3110d6f22202ea2
Author: Glauber Costa <glommer@...allels.com>
AuthorDate: Tue, 1 Nov 2011 19:19:07 -0200
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Wed, 16 Nov 2011 08:48:22 +0100
sched, trivial: Initialize root cgroup's sibling list
Even though there are no siblings, the list should be
initialized to not contain bogus values.
Signed-off-by: Glauber Costa <glommer@...allels.com>
Acked-by: Paul Menage <paul@...lmenage.org>
Acked-by: Paul Turner <pjt@...gle.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Link: http://lkml.kernel.org/r/1320182360-20043-2-git-send-email-glommer@parallels.com
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/sched.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index d9d79a4..0df6986 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -8275,6 +8275,7 @@ void __init sched_init(void)
#ifdef CONFIG_CGROUP_SCHED
list_add(&root_task_group.list, &task_groups);
INIT_LIST_HEAD(&root_task_group.children);
+ INIT_LIST_HEAD(&root_task_group.siblings);
autogroup_init(&init_task);
#endif /* CONFIG_CGROUP_SCHED */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists