mm: use heap macro in init_node_heap
PATCH 1/1 mm: use heap macro in init_node_heap
... so that it is consistent with the rest of the file.
No functional change.
---
Cc: Andrew Cooper <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Tim Deegan <[email protected]>
Cc: Wei Liu <[email protected]>
--- xen/common/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/common/page_alloc.c +1 -1
@@ -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)));return needed; }
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
xen/common/page_alloc.c static unsigned long init_node_heap(int node, unsigned long mfn, · line 577
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 29.03.17 at 13:15, <[email protected]> wrote:
xen/common/page_alloc.c +1
-1@@ -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,
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
[email protected]
https://lists.xen.org/xen-devel
Cc Julien
Quoted 11 lines · Jan Beulich
xen/common/page_alloc.c static unsigned long init_node_heap(int node, unsigned long mfn, · line 577
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 29.03.17 at 13:15, <[email protected]> wrote:
xen/common/page_alloc.c +1
-1@@ -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,
Quoted 7 lines
Acked-by Jan Beulich <[email protected]>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
[email protected]
https://lists.xen.org/xen-devel
Hi,
Quoted 15 lines · Wei Liu
Cc Julien
Quoted 12 lines · Jan Beulich
xen/common/page_alloc.c static unsigned long init_node_heap(int node, unsigned long mfn, · line 577
Quoted 9 lines
Quoted 1 line
Quoted 1 line · On 29.03.17 at 13:15, <[email protected]> wrote:
xen/common/page_alloc.c +1
-1@@ -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 <[email protected]>
Cheers,
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel