lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E83B071.5010703@parallels.com>
Date:	Wed, 28 Sep 2011 20:40:33 -0300
From:	Glauber Costa <glommer@...allels.com>
To:	Glauber Costa <glommer@...allels.com>
CC:	<linux-kernel@...r.kernel.org>, <paul@...lmenage.org>,
	<lizf@...fujitsu.com>, <daniel.lezcano@...e.fr>,
	<a.p.zijlstra@...llo.nl>, <jbottomley@...allels.com>
Subject: Re: [PATCH] trivial: initialize root cgroup's sibling list

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@...allels.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 ?
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ