All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <raistlin@linux.it>
To: xen-devel@lists.xen.org
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: [PATCH] libxl: use xc_topologyinfo to figure out how many CPUs we actually have
Date: Wed, 09 May 2012 13:11:38 +0200	[thread overview]
Message-ID: <1336561898.2621.4.camel@Abyss> (raw)
In-Reply-To: <420c8861a2d2a61a7e80.1336561430@Solace>


[-- Attachment #1.1: Type: text/plain, Size: 1029 bytes --]

On Wed, 2012-05-09 at 13:03 +0200, Darrio Faggioli wrote: 
> Within libxl_get_cpu_topology(), considering all the CPUs the hypervisor
> supports to be valid topology entries might lead to misleading and incorrect
> behaviours, e.g., the output of `xl info -n' below on a 16 cores machine:
> ...
> <snip>
> 
> However, xc_topologyinfo() tells us (in max_cpu_index) how many entries
> arrays it returns corresponds to actually valid CPUs, so let's use that
> information.
> 
> Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
> 
And, as it is an actual bugfix and very very small in size, not to
forget that I'd need that for the NUMA placement series, I'm proposing
this for 4.2... Does it make sense?

Thanks and Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)



[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2012-05-09 11:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 11:03 [PATCH] libxl: use xc_topologyinfo to figure out how many CPUs we actually have Darrio Faggioli
2012-05-09 11:11 ` Dario Faggioli [this message]
2012-05-09 15:23   ` Ian Jackson
2012-05-10  9:26     ` Dario Faggioli
2012-05-09 12:04 ` Ian Campbell
2012-05-09 12:45   ` Dario Faggioli

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=1336561898.2621.4.camel@Abyss \
    --to=raistlin@linux.it \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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.