Re: [Xen-devel] [PATCHv1] x86/xen/p2m: hint at the last populated P2M entry

2015-09-08 Thread David Vrabel
On 08/09/15 16:17, Juergen Gross wrote: > > I'd suggest an update of arch/x86/include/asm/xen/interface.h regarding > a possible change of max_pfn. Something like: > > ... >* p2m_vaddr holds the virtual address of the linear p2m list. All >* entries in the range [0...max_pfn[ are accessib

Re: [Xen-devel] [PATCHv1] x86/xen/p2m: hint at the last populated P2M entry

2015-09-08 Thread Juergen Gross
On 09/08/2015 03:36 PM, David Vrabel wrote: With commit 633d6f17cd91ad5bf2370265946f716e42d388c6 (x86/xen: prepare p2m list for memory hotplug) the P2M may be sized to accomdate a much s/accomdate/accommodate/ larger amount of memory than the domain currently has. When saving a domain, the t

[Xen-devel] [PATCHv1] x86/xen/p2m: hint at the last populated P2M entry

2015-09-08 Thread David Vrabel
With commit 633d6f17cd91ad5bf2370265946f716e42d388c6 (x86/xen: prepare p2m list for memory hotplug) the P2M may be sized to accomdate a much larger amount of memory than the domain currently has. When saving a domain, the toolstack must scan all the P2M looking for populated pages. This results i