public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Glauber Costa <glommer@parallels.com>
To: Glauber Costa <glommer@parallels.com>
Cc: <linux-kernel@vger.kernel.org>, <paul@paulmenage.org>,
	<lizf@cn.fujitsu.com>, <daniel.lezcano@free.fr>,
	<a.p.zijlstra@chello.nl>, <jbottomley@parallels.com>
Subject: Re: [PATCH] trivial: initialize root cgroup's sibling list
Date: Wed, 28 Sep 2011 20:40:33 -0300	[thread overview]
Message-ID: <4E83B071.5010703@parallels.com> (raw)
In-Reply-To: <1316816389-9135-1-git-send-email-glommer@parallels.com>

On 09/23/2011 07: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>
> ---
>   kernel/sched.c |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/kernel/sched.c b/kernel/sched.c
> index ccacdbd..3ed4107 100644
> --- a/kernel/sched.c
> +++ b/kernel/sched.c
> @@ -8082,6 +8082,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 */
>
Peter, how about this one ?

  reply	other threads:[~2011-09-28 23:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-23 22:19 [PATCH] trivial: initialize root cgroup's sibling list Glauber Costa
2011-09-28 23:40 ` Glauber Costa [this message]
2011-09-29  1:28 ` Paul Menage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E83B071.5010703@parallels.com \
    --to=glommer@parallels.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=daniel.lezcano@free.fr \
    --cc=jbottomley@parallels.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizf@cn.fujitsu.com \
    --cc=paul@paulmenage.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox