|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH RFCv2 10/15] xen/arm: mm: Allocate xen page tables in domheap rather than xenheap
Hi Stefano, On 12/05/2021 23:44, Stefano Stabellini wrote: In xen_map_table() we need to be able to map pages from Xen binary, xenheap... On arm64, we would be able to use mfn_to_virt() because everything is mapped in Xen. But that's not the case on arm32. So we need a way to map anything easily.On Sun, 25 Apr 2021, Julien Grall wrote: The only difference between xenheap and domheap are the former is always mapped while the latter may not be. So one can also view a xenheap page as a glorified domheap. I also don't really want to create yet another interface to map pages (we have vmap(), map_domain_page(), map_domain_global_page()...). So, when I implemented xen_map_table() a couple of years ago, I came to the conclusion that this is a convenient (ab)use of the interface. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |