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

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



Hi,

On 29/03/17 13:38, Wei Liu wrote:
Cc Julien

On Wed, Mar 29, 2017 at 06:00:08AM -0600, Jan Beulich wrote:
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>

Released-acked-by: Julien Grall <julien.grall@xxxxxxx>

Cheers,

--
Julien Grall

_______________________________________________
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®.