From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH v2 for Xen 4.6 2/6] tools/libxl: fix socket display error for CMT Date: Tue, 29 Sep 2015 11:06:31 +0200 Message-ID: <1443517591.3276.114.camel@citrix.com> References: <1443512995-11853-1-git-send-email-chao.p.peng@linux.intel.com> <1443512995-11853-3-git-send-email-chao.p.peng@linux.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6345799561887311537==" Return-path: In-Reply-To: <1443512995-11853-3-git-send-email-chao.p.peng@linux.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chao Peng , xen-devel@lists.xen.org Cc: wei.liu2@citrix.com, Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org --===============6345799561887311537== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-yo/kALJvYhLXaVvv+bui" --=-yo/kALJvYhLXaVvv+bui Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2015-09-29 at 15:49 +0800, Chao Peng wrote: > When displaying the CMT information for all the sockets, we assume > socket > number is continuous. This is not true in the hotplug case. For > instance, > when the 3rd socket is plugged out on a 4-socket system, the > available > sockets numbers are 1,2,4 but current we will display the CMT > information for socket 1,2,3. >=20 > The fix is getting the socket bitmap for all the sockets on the > system > first and then displaying CMT information for_each_set_bit in that > bitmap. >=20 > Signed-off-by: Chao Peng > Acked-by: Wei Liu > --- > v2: > * add libxl_bitmap_init(). > FWIW, Reviewed-by: Dario Faggioli Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-yo/kALJvYhLXaVvv+bui 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 iEYEABECAAYFAlYKVJcACgkQk4XaBE3IOsSIOQCgqTxkGFIDY/5n+mHMJfCrrsXe JGIAoJeVEFMz396LkGlRh0vNnFtImgWS =2OPg -----END PGP SIGNATURE----- --=-yo/kALJvYhLXaVvv+bui-- --===============6345799561887311537== 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 --===============6345799561887311537==--