On 24.08.2021 11:50, 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. > > Signed-off-by: Penny Zheng <penny.zh...@arm.com> > Acked-by: Jan Beulich <jbeul...@suse.com>
This ... > --- a/xen/arch/x86/pv/dom0_build.c > +++ b/xen/arch/x86/pv/dom0_build.c > @@ -557,7 +557,7 @@ int __init dom0_construct_pv(struct domain *d, > else > { > while ( count-- ) > - if ( assign_pages(d, mfn_to_page(_mfn(mfn++)), 0, 0) ) > + if ( assign_pages(d, mfn_to_page(_mfn(mfn++)), 1, 0) ) ... is precisely what I did _not_ ack. The re-ordering of parameters should remain as you had it. The request from Julien wasn't to undo that, but to harmonize the new function's parameters with those of the existing function. Jan