[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 1/2] x86/dom0: rename paging function
>>> On 05.12.18 at 15:54, <roger.pau@xxxxxxxxxx> wrote: > To note it's calculating the approximate amount of memory required by > shadow paging. I don't understand this logic, and ... > @@ -325,7 +325,7 @@ unsigned long __init dom0_compute_nr_pages( > break; > > /* Reserve memory for shadow or HAP. */ > - avail -= dom0_paging_pages(d, nr_pages); > + avail -= dom0_shadow_pages(d, nr_pages); > } ... the comment here (and lack of conditional restricting the code to shadow mode) appear to support me: Have you been mislead by the function having a comment referring to libxl_get_required_shadow_memory()? I think if anything that libxl function would want to be renamed (to replace "shadow" by something more generic in its name). Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |