From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli 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 Message-ID: <1336561898.2621.4.camel@Abyss> References: <420c8861a2d2a61a7e80.1336561430@Solace> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6894980105098005633==" Return-path: In-Reply-To: <420c8861a2d2a61a7e80.1336561430@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: George Dunlap , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org --===============6894980105098005633== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-f2O9odqswB6uANpHDu+T" --=-f2O9odqswB6uANpHDu+T Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2012-05-09 at 13:03 +0200, Darrio Faggioli wrote:=20 > Within libxl_get_cpu_topology(), considering all the CPUs the hypervisor > supports to be valid topology entries might lead to misleading and incorr= ect > behaviours, e.g., the output of `xl info -n' below on a 16 cores machine: > ... > >=20 > 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. >=20 > Signed-off-by: Dario Faggioli >=20 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 --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-f2O9odqswB6uANpHDu+T Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAk+qUOoACgkQk4XaBE3IOsQN4ACfdpTC75rh8EY19S5jD95LadQU oBEAnRfsCl2YfqilaTpVT3gPIOIN43sb =yHgc -----END PGP SIGNATURE----- --=-f2O9odqswB6uANpHDu+T-- --===============6894980105098005633== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============6894980105098005633==--