[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC PATCH 68/84] page_alloc: actually do the mapping and unmapping on xenheap.



On 26/09/2019 11:45, Julien Grall wrote:
Hi,

I forgot to mention one thing. Can you explain why you are using map_pages_to_xen and not destroy_xen_mappings here?

From my understanding, the former will not teardown intermediate pagetables. If this is what you want then please write it down in a comment. Note that Arm does not support _PAGE_NONE so something similar to implementation of vunmap would be necessary.

That is exactly my intention. Without an always-mapped direct map, mappings to the DIRECTMAP region are created/destroyed alongside xenheap allocations/deallocations. Performance-wise it probably makes less sense to actually tear down all pagetables and later allocate them again.

I can add a comment.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.