On Tue, Jan 28, 2020 at 01:50:05PM +0000, Hongyan Xia wrote: > From: Wei Liu <wei.l...@citrix.com> > > We are going to switch to using domheap page for page tables. > A new set of APIs is introduced to allocate and free pages of page > tables based on mfn instead of the xenheap direct map address. The > allocation and deallocation work on mfn_t but not page_info, because > they are required to work even before frame table is set up. > > Implement the old functions with the new ones. We will rewrite, site > by site, other mm functions that manipulate page tables to use the new > APIs. > > After the allocation, one needs to map and unmap via map_domain_page to > access the PTEs. This does not break xen half way, since the new APIs > still use xenheap pages underneath, and map_domain_page will just use > the directmap for mappings. They will be switched to use domheap and > dynamic mappings when usage of old APIs is eliminated. > > No functional change intended in this patch. > > Signed-off-by: Wei Liu <wei.l...@citrix.com> > Signed-off-by: Hongyan Xia <hongy...@amazon.com> > Reviewed-by: Julien Grall <jgr...@amazon.com>
Reviewed-by: Wei Liu <w...@xen.org> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel