Re: [PATCH v5 8/9] xen: introduce prepare_staticmem_pages

2022-05-31 Thread Jan Beulich
On 31.05.2022 05:12, Penny Zheng wrote: > Later, we want to use acquire_domstatic_pages() for populating memory > for static domain on runtime, however, there are a lot of pointless work > (checking mfn_valid(), scrubbing the free part, cleaning the cache...) > considering we know the page is

[PATCH v5 8/9] xen: introduce prepare_staticmem_pages

2022-05-30 Thread Penny Zheng
Later, we want to use acquire_domstatic_pages() for populating memory for static domain on runtime, however, there are a lot of pointless work (checking mfn_valid(), scrubbing the free part, cleaning the cache...) considering we know the page is valid and belong to the guest. This commit splits