lkml.org 
[lkml]   [2011]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 01/14] trivial: initialize root cgroup's sibling list
On 11/01/2011 02:19 PM, Glauber Costa wrote:
> Even though there are no siblings, the list should be
> initialized not to contain bogus values.
>
> Signed-off-by: Glauber Costa<glommer@parallels.com>
> Acked-by: Paul Menage<paul@paulmenage.org>

Signed-off-by: Paul Turner <pjt@google.com>

> ---
> kernel/sched.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/kernel/sched.c b/kernel/sched.c
> index d87c6e5..e327665 100644
> --- a/kernel/sched.c
> +++ b/kernel/sched.c
> @@ -8234,6 +8234,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 */
>



\
 
 \ /
  Last update: 2011-11-11 22:37    [from the cache]
©2003-2011 Jasper Spaans