From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH 2/2] libxc: fix PV vNUMA guest memory allocation Date: Mon, 6 Jul 2015 15:53:01 +0200 Message-ID: <1436190781.14347.105.camel@citrix.com> References: <1436188640-303-1-git-send-email-wei.liu2@citrix.com> <1436188640-303-3-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0382565710516634097==" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZC6qR-0004md-02 for xen-devel@lists.xenproject.org; Mon, 06 Jul 2015 13:54:03 +0000 In-Reply-To: <1436188640-303-3-git-send-email-wei.liu2@citrix.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: Wei Liu Cc: Xen-devel , Ross Lagerwall List-Id: xen-devel@lists.xenproject.org --===============0382565710516634097== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-OATiw6LbJobnLY89ApqW" --=-OATiw6LbJobnLY89ApqW Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2015-07-06 at 14:17 +0100, Wei Liu wrote: > In 415b58c1 (tools/libxc: Batch memory allocations for PV guests) the > number of super pages is calculated with the number of total pages. That > is wrong. It breaks PV guest vNUMA. The correct number of super pages > should be derived from the number of pages within that virtual NUMA > node. >=20 > Also change the name and type of super page variable to match the naming > convention and type of normal page variable. Make the necessary > adjustment to make code compile. >=20 > Reported-by: Dario Faggioli > Signed-off-by: Wei Liu > Thanks for looking at this so quickly. I think I've understood that you're sending a v2, so I'll test that one. Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-OATiw6LbJobnLY89ApqW 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 v2 iEYEABECAAYFAlWaiF8ACgkQk4XaBE3IOsTjnwCgkeIFd9y2BmnuoOZP4/NDex81 negAoJmIFD+Ss/MDWOninhWGPSFOOd5D =T3x2 -----END PGP SIGNATURE----- --=-OATiw6LbJobnLY89ApqW-- --===============0382565710516634097== 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 --===============0382565710516634097==--