From: travis@sgi•com
To: sfr@canb•auug.org.au, Andrew Morton <akpm@linux-foundation•org>
Cc: linux-mm@kvack•org, Andi Kleen <ak@suse•de>,
linux-kernel@vger•kernel.org, linuxppc-dev@ozlabs•org,
sparclinux@vger•kernel.org, Christoph Lameter <clameter@sgi•com>
Subject: [PATCH 0/1] ppc64: Convert cpu_sibling_map to a per_cpu data array ppc64 v2
Date: Mon, 17 Sep 2007 11:35:07 -0700 [thread overview]
Message-ID: <20070917183507.332345000@sgi.com> (raw)
Stephen Rothwell wrote:
> On Mon, 17 Sep 2007 16:28:31 +1000 Stephen Rothwell <sfr@canb•auug.org.au> wrote:
>> the topology (on my POWERPC5+ box) is not correct:
>>
>> cpu0/topology/thread_siblings:0000000f
>> cpu1/topology/thread_siblings:0000000f
>> cpu2/topology/thread_siblings:0000000f
>> cpu3/topology/thread_siblings:0000000f
>>
>> it used to be:
>>
>> cpu0/topology/thread_siblings:00000003
>> cpu1/topology/thread_siblings:00000003
>> cpu2/topology/thread_siblings:0000000c
>> cpu3/topology/thread_siblings:0000000c
>
> This would be because we are setting up the cpu_sibling map before we
> call setup_per_cpu_areas().
The following patch hopefully should fix this problem. I'm
not able to build or test it but the few references to
cpu_sibling_map seem to all occur well after setup_per_cpu_areas
is called.
Thanks Stephen for checking this out!
--
next reply other threads:[~2007-09-17 18:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-17 18:35 travis [this message]
2007-09-17 18:35 ` [PATCH 1/1] ppc64: Convert cpu_sibling_map to a per_cpu data array ppc64 v2 travis
2007-09-19 6:56 ` Stephen Rothwell
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=20070917183507.332345000@sgi.com \
--to=travis@sgi$(echo .)com \
--cc=ak@suse$(echo .)de \
--cc=akpm@linux-foundation$(echo .)org \
--cc=clameter@sgi$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mm@kvack$(echo .)org \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=sfr@canb$(echo .)auug.org.au \
--cc=sparclinux@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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