Re: [PATCH v5 4/8] xen/arm: introduce put_page_nr and get_page_nr

2022-06-24 Thread Julien Grall
Hi Penny, On 20/06/2022 06:11, Penny Zheng wrote: Later, we need to add the right amount of references, which should be the number of borrower domains, to the owner domain. Since we only have get_page() to increment the page reference by 1, a loop is needed per page, which is inefficient and

[PATCH v5 4/8] xen/arm: introduce put_page_nr and get_page_nr

2022-06-19 Thread Penny Zheng
Later, we need to add the right amount of references, which should be the number of borrower domains, to the owner domain. Since we only have get_page() to increment the page reference by 1, a loop is needed per page, which is inefficient and time-consuming. To save the loop time, this commit