Re: [Xen-devel] [PATCH v4 2/8] mm: Extract allocation loop from alloc_heap_pages()

2017-06-09 Thread Jan Beulich
>>> On 19.05.17 at 17:50, wrote: > --- a/xen/common/page_alloc.c > +++ b/xen/common/page_alloc.c > @@ -694,22 +694,15 @@ static void page_list_add_scrub(struct page_info *pg, > unsigned int node, > page_list_add(pg, &heap(node, zone, order)); > } > > -/* Allocate 2^@order contiguous p

[Xen-devel] [PATCH v4 2/8] mm: Extract allocation loop from alloc_heap_pages()

2017-05-19 Thread Boris Ostrovsky
This will make code a bit more readable, especially with changes that will be introduced in subsequent patches. Signed-off-by: Boris Ostrovsky --- Change in v4: * New patch xen/common/page_alloc.c | 132 +++- 1 file changed, 74 insertions(+), 58 delet