From: Ingo Molnar <mingo@elte.hu>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
LKML <linux-kernel@vger.kernel.org>,
suresh.b.siddha@intel.com, Mike Galbraith <efault@gmx.de>
Subject: Re: [PATCH] sched: fix a bug in sched domain degenerate
Date: Thu, 6 Nov 2008 08:06:37 +0100 [thread overview]
Message-ID: <20081106070636.GG15731@elte.hu> (raw)
In-Reply-To: <49124C2C.9080300@cn.fujitsu.com>
* Li Zefan <lizf@cn.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@cn.fujitsu.com>
> ---
> kernel/sched.c | 6 ++++--
> 1 files changed, 4 insertions(+), 2 deletions(-)
applied to tip/sched/urgent, thanks!
Ingo
next prev parent reply other threads:[~2008-11-06 7:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 1:45 [PATCH] sched: fix a bug in sched domain degenerate Li Zefan
2008-11-06 7:06 ` Ingo Molnar [this message]
2008-11-08 6:55 ` Li Zefan
2008-11-08 8:32 ` Ingo Molnar
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=20081106070636.GG15731@elte.hu \
--to=mingo@elte.hu \
--cc=a.p.zijlstra@chello.nl \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=suresh.b.siddha@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.