[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] libxc: fix PV vNUMA guest memory allocation
On Mon, 2015-07-06 at 14:47 +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. > > 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. > > Reported-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> > Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> > Reviewed-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx> > --- > v2: uint64_t for count variable for consistency, no functional changes wrt v1 > so I retain the Reviewed-by tag. > --- > Reviewed-and-Tested-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |