RE: [PATCH V4 07/10] xen: re-define assign_pages and introduce assign_page

2021-08-17 Thread Penny Zheng
Hi Julian and Jan > -Original Message- > From: Julien Grall > Sent: Friday, August 13, 2021 8:27 PM > To: Penny Zheng ; xen-devel@lists.xenproject.org; > sstabell...@kernel.org > Cc: Bertrand Marquis ; Wei Chen > ; nd > Subject: Re: [PATCH V4 07/10] xen: re

Re: [PATCH V4 07/10] xen: re-define assign_pages and introduce assign_page

2021-08-13 Thread Jan Beulich
On 13.08.2021 14:27, Julien Grall wrote: > On 28/07/2021 11:27, Penny Zheng wrote: >> --- a/xen/include/xen/mm.h >> +++ b/xen/include/xen/mm.h >> @@ -132,6 +132,12 @@ int query_page_offline(mfn_t mfn, uint32_t *status); >> void heap_init_late(void); >> >> int assign_pages( >> +struct pag

Re: [PATCH V4 07/10] xen: re-define assign_pages and introduce assign_page

2021-08-13 Thread Julien Grall
Hi Penny, On 28/07/2021 11:27, Penny Zheng wrote: In order to deal with the trouble of count-to-order conversion when page number is not in a power-of-two, this commit re-define assign_pages for nr pages and assign_page for original page with a single order. Backporting confusion could be helpe

Re: [PATCH V4 07/10] xen: re-define assign_pages and introduce assign_page

2021-08-04 Thread Jan Beulich
On 28.07.2021 12:27, Penny Zheng wrote: > In order to deal with the trouble of count-to-order conversion when page > number > is not in a power-of-two, this commit re-define assign_pages for nr pages and > assign_page for original page with a single order. > > Backporting confusion could be helpe

[PATCH V4 07/10] xen: re-define assign_pages and introduce assign_page

2021-07-28 Thread Penny Zheng
In order to deal with the trouble of count-to-order conversion when page number is not in a power-of-two, this commit re-define assign_pages for nr pages and assign_page for original page with a single order. Backporting confusion could be helped by altering the order of assign_page parameters, su