All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Van Der Linden <Frank.Vanderlinden@Sun.COM>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] Move smp_num_siblings to the per-cpu data
Date: Wed, 21 Jan 2009 09:18:15 -0700	[thread overview]
Message-ID: <49774AC7.9070300@Sun.COM> (raw)
In-Reply-To: <C59CBC9D.1A8B%keir.fraser@eu.citrix.com>

Keir Fraser wrote:
> On 20/01/2009 23:36, "Frank van der Linden" <Frank.Vanderlinden@Sun.COM>
> wrote:
>
>   
>> Make the num_siblings CPU parameter per-CPU.
>>
>> While it is unlikely that a system has a different number of siblings
>> for different physical CPUs,  make this parameter per-CPU for
>> consistency, and deal with the (so far theoretical) case that this is
>> different per CPU package.
>>
>> Signed-off-by: Frank van der Linden <Frank.Vanderlinden@Sun.COM>
>>     
>
> It's a pretty odd thing to decide to knock together one day. Do you have an
> underlying near-term motive for adding this flexibility?
>
>  -- Keir
>
>
>   
I originally did this as part of an extension to the MCE support 
hypercall. We needed some detailed physical CPU information, plus some 
MSR info. When implementing this, and extracting infro from cpu_data[], 
I noticed the smp_num_siblings inconsistency, so I changed it.

The other changes will be submitted as a separate patch, after they've 
been discussed with AMD & Intel.

- Frank

      reply	other threads:[~2009-01-21 16:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-20 23:36 [PATCH] Move smp_num_siblings to the per-cpu data Frank van der Linden
2009-01-21 11:50 ` Keir Fraser
2009-01-21 16:18   ` Frank Van Der Linden [this message]

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=49774AC7.9070300@Sun.COM \
    --to=frank.vanderlinden@sun.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.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.