Re: [Xen-devel] [RFC 3/3] xen/common: memory: Move steal_page in common code

2015-12-22 Thread Jan Beulich
>>> On 17.12.15 at 17:31, wrote: > --- a/xen/common/page_alloc.c > +++ b/xen/common/page_alloc.c > @@ -1786,6 +1786,57 @@ int assign_pages( > return -1; > } > > +int steal_page( > +struct domain *d, struct page_info *page, unsigned int memflags) > +{ I think it would better go into co

[Xen-devel] [RFC 3/3] xen/common: memory: Move steal_page in common code

2015-12-17 Thread Julien Grall
The implementation of steal_page for ARM and x86 would be the same. Rather than duplicating the x86 function, move it in common code. Also introduce missing define PRtype_info for ARM in order to compile the code. Signed-off-by: Julien Grall --- Cc: Ian Campbell Cc: Stefano Stabellini Cc: Kei