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]
Date:	Thu, 6 Nov 2008 08:06:37 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Li Zefan <lizf@...fujitsu.com>
Cc:	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	LKML <linux-kernel@...r.kernel.org>, suresh.b.siddha@...el.com,
	Mike Galbraith <efault@....de>
Subject: Re: [PATCH] sched: fix a bug in sched domain degenerate


* Li Zefan <lizf@...fujitsu.com> wrote:

> (1) on i386 with SCHED_SMT and SCHED_MC enabled
> 	# mount -t cgroup -o cpuset xxx /mnt
> 	# echo 0 > /mnt/cpuset.sched_load_balance
> 	# mkdir /mnt/0
> 	# echo 0 > /mnt/0/cpuset.cpus
> 	# dmesg
> 	CPU0 attaching sched-domain:
> 	 domain 0: span 0 level CPU
> 	  groups: 0
> 
> (2) on i386 with SCHED_MC enabled but SCHED_SMT disabled
> 	# same with (1)
> 	# dmesg
> 	CPU0 attaching NULL sched-domain.
> 
> The bug is some sched domains may be skipped unintentionally when
> doing sched domain degenerating.
> 
> Signed-off-by: Li Zefan <lizf@...fujitsu.com>
> ---
>  kernel/sched.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)

applied to tip/sched/urgent, thanks!

	Ingo
--
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