From: Paul Jackson <pj@sgi.com>
To: vatsa@in.ibm.com
Cc: nickpiggin@yahoo.com.au, mingo@elte.hu, hawkes@sgi.com,
dino@in.ibm.com, akpm@osdl.org, linux-kernel@vger.kernel.org,
suresh.b.siddha@intel.com, ak@suse.de
Subject: Re: [PATCH 2.6.16-mm1 2/2] sched_domains: Allocate sched_groups dynamically
Date: Thu, 6 Jul 2006 17:01:51 -0700 [thread overview]
Message-ID: <20060706170151.cdb1dc6c.pj@sgi.com> (raw)
In-Reply-To: <20060325082804.GB17011@in.ibm.com>
Several months ago, Srivatsa wrote:
> I couldn't test this on a multi-core machine, since I don't think we
> have one in our lab.
>
> Suresh, would you mind testing the patch on a multi-core machine, in case you
> have access to one?
>
> Basically you would need to do create a exclusive CPUset with one CPU in it
> (ensure that its sibling in the same core is not part of the same
> CPUset). As soon as you make the CPUset exclusive, you would hit some
> kind of hang. With this patch, the hang should go away.
Summary: Where do we stand with multi-core and this bug?
I don't see a reply from Suresh on whether he could test on multi-core.
I finally happened to be running on a hyper-threaded box last week,
and stumbled over this bug that Srivatsa's patch fixes. Hawkes
remembered Srivatsa's patch, I tried it, and it worked. Thanks!
But now I'm quite confused as to the situation with multi-core.
Details of my confusions, for the bored:
From Srivatsa's remark, I would have guessed that multi-core was
at risk for this bug too, but Srivatsa was hopeful that his patch
would fix that too.
Early this week, a couple of people who shall remain anonymous here
raised the question of whether we had the same problem with multi-core.
One of them believed that multi-core did have the same problem.
I got a little time on a multi-core system this morning to test it,
and while running what I -thought- was a kernel -without- Srivatsa's
patch, I could not find any problem. I made a cpuset with just a
single logical cpu in it, and marked it cpu_exclusive, and the
system did not hang.
It will be another day before I can get on that multi-core system
again to verify my findings.
I was hoping that someone could actually -read- this code and state
with confidence that one of the following held:
* it was already working ok on multi-core (a one CPU cpu_exclusive cpuset),
* it was broken, but Srivatsa's patch fixes it, or
* it's still broken, even with Srivatsa's patch.
I tried a couple of times to read the code myself, but could not
make any headway there.
So ... what's up with multi-core and this bug?
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
next prev parent reply other threads:[~2006-07-07 0:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-25 8:28 [PATCH 2.6.16-mm1 2/2] sched_domains: Allocate sched_groups dynamically Srivatsa Vaddagiri
2006-03-27 21:18 ` Siddha, Suresh B
2006-07-07 0:01 ` Paul Jackson [this message]
2006-07-07 0:08 ` Siddha, Suresh B
2006-07-07 0:34 ` Paul Jackson
2006-07-07 0:36 ` Siddha, Suresh B
2006-07-07 5:26 ` Paul Jackson
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=20060706170151.cdb1dc6c.pj@sgi.com \
--to=pj@sgi.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=dino@in.ibm.com \
--cc=hawkes@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=nickpiggin@yahoo.com.au \
--cc=suresh.b.siddha@intel.com \
--cc=vatsa@in.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox