I am slightly confused by the use of 'need_paging' variable in
dom0_compute_nr_pages().

Because paging_mode_hap() and iommu_hap_pt_share are (almost?) always
true, we are not reducing available memory for PVH dom0 by page tables
size. But then in pvh_setup_p2m() we do use this memory by
paging_set_allocation(). And from what I've seen we then may run our of
heap pages when populating memory map (in the 'for' loop below).

Am I not reading this correctly?

Thanks.
-boris

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to