[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] mm: use heap macro in init_node_heap



>>> On 29.03.17 at 13:15, <wei.liu2@xxxxxxxxxx> wrote:
> --- a/xen/common/page_alloc.c
> +++ b/xen/common/page_alloc.c
> @@ -574,7 +574,7 @@ static unsigned long init_node_heap(int node, unsigned 
> long mfn,
>  
>      for ( i = 0; i < NR_ZONES; i++ )
>          for ( j = 0; j <= MAX_ORDER; j++ )
> -            INIT_PAGE_LIST_HEAD(&(*_heap[node])[i][j]);
> +            INIT_PAGE_LIST_HEAD(&(heap(node, i, j)));

With the now stray pair of parentheses removed,
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

You should have Cc-ed Julien, assuming you want to get this in now
rather than after 4.9 was branched off.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.