From: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
To: Christoph Lameter <clameter@sgi.com>
Cc: ak@suse.de, linux-kernel@vger.kernel.org, travis@sgi.com,
Jeremy Fitzhardinge <jeremy@goop.org>
Subject: Re: x86: Convert cpu_core_map to be a per cpu variable
Date: Tue, 17 Jul 2007 12:27:18 -0700 [thread overview]
Message-ID: <20070717192718.GF3318@linux-os.sc.intel.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0707122354340.17278@schroedinger.engr.sgi.com>
On Thu, Jul 12, 2007 at 11:58:06PM -0700, Christoph Lameter wrote:
> cpu_core_map is currently an array defined using NR_CPUS. This means that
> we overallocate since we will rarely really use the maximum
> number of configured cpus. This may become a problem when we need to
> increase the NR_CPUs on x86_64 for our new product line.
>
> If we put the cpu_core_map into the per cpu area then it will be allocated
> for each processor as it comes online.
>
> However, this means that the core map cannot be accessed until the per cpu
> area has been allocated. Xen does a weird thing here looping over all
> processors and zeroing the masks that are not yet allocated and that will
> be zeroed when they are allocated. I commented the code out. Maybe there
> is another purpose? Jeremy?
Is there a reason why cpu_sibling_map[] is left out in these changes?
thanks,
suresh
next prev parent reply other threads:[~2007-07-17 19:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-13 6:58 x86: Convert cpu_core_map to be a per cpu variable Christoph Lameter
2007-07-13 7:08 ` David Miller
2007-07-13 16:34 ` Christoph Lameter
2007-07-13 22:41 ` David Miller
2007-07-13 22:50 ` Christoph Lameter
2007-07-13 22:51 ` David Miller
2007-07-13 13:49 ` Jeremy Fitzhardinge
2007-07-17 19:27 ` Siddha, Suresh B [this message]
2007-07-23 19:34 ` Christoph Lameter
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=20070717192718.GF3318@linux-os.sc.intel.com \
--to=suresh.b.siddha@intel.com \
--cc=ak@suse.de \
--cc=clameter@sgi.com \
--cc=jeremy@goop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=travis@sgi.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