[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/2] x86/dom0: improve paging memory usage calculations
On Wed, Dec 05, 2018 at 01:06:29PM +0100, Roger Pau Monne wrote: > diff --git a/xen/arch/x86/hvm/dom0_build.c b/xen/arch/x86/hvm/dom0_build.c > index 2af2bd8c3d..7217b2404a 100644 > --- a/xen/arch/x86/hvm/dom0_build.c > +++ b/xen/arch/x86/hvm/dom0_build.c > @@ -358,6 +358,9 @@ static int __init pvh_setup_p2m(struct domain *d) > { > struct vcpu *v = d->vcpu[0]; > unsigned long nr_pages = dom0_compute_nr_pages(d, NULL, 0); > + unsigned long paging_pages = > + paging_mode_hap(d) ? dom0_hap_pages(d, nr_pages), I've somehow messed up this patch series and sent a not updated version, will send v2 shortly, sorry. Roger. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |