Re: [Xen-devel] [PATCH v3 1/9] mm: Separate free page chunk merging into its own routine

2017-05-04 Thread Jan Beulich
>>> On 14.04.17 at 17:37, wrote: > --- a/xen/common/page_alloc.c > +++ b/xen/common/page_alloc.c > @@ -919,11 +919,50 @@ static int reserve_offlined_page(struct page_info *head) > return count; > } > > +/* Returns new buddy head. */ > +static struct page_info * > +merge_and_free_buddy(stru

[Xen-devel] [PATCH v3 1/9] mm: Separate free page chunk merging into its own routine

2017-04-14 Thread Boris Ostrovsky
This is needed for subsequent changes to memory scrubbing. Signed-off-by: Boris Ostrovsky --- Changes in v3: * Simplify merge_and_free_buddy() (and drop can_merge()) xen/common/page_alloc.c | 74 ++- 1 files changed, 41 insertions(+), 33 deletions(