mm-mempolicy-use-numa_no_node.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] mm-mempolicy-use-numa_no_node.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 13 Nov 2013 12:38:28 -0800
The patch titled
Subject: mm/mempolicy: use NUMA_NO_NODE
has been removed from the -mm tree. Its filename was
mm-mempolicy-use-numa_no_node.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Jianguo Wu <[email protected]>
Subject: mm/mempolicy: use NUMA_NO_NODE
Use more appropriate NUMA_NO_NODE instead of -1
Signed-off-by Jianguo Wu <[email protected]>
Acked-by KOSAKI Motohiro <[email protected]>
Acked-by David Rientjes <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/mempolicy.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
mm/mempolicy.c renamed from mm/mempolicy.c~mm-mempolicy-use-numa_no_node +5 -5
@@ -1125,7 +1125,7 @@ int do_migrate_pages(struct mm_struct *m tmp = *from;while (!nodes_empty (tmp)) {int s,d; -int source =-1 ; +int source =NUMA_NO_NODE ;int dest =0 ;for_each_node_mask (s, tmp) {
@@ -1160,7 +1160,7 @@ int do_migrate_pages(struct mm_struct *mif (!node_isset (dest, tmp))break ; } -if (source ==-1 ) +if (source ==NUMA_NO_NODE )break ;node_clear (source, tmp);
@@ -1835,7 +1835,7 @@ static unsigned offset_il_node(struct meunsigned nnodes =nodes_weight (pol->v.nodes);unsigned target;int c; -int nid =-1 ; +int nid =NUMA_NO_NODE ;if (!nnodes)return numa_node_id ();
@@ -1872,11 +1872,11 @@ static inline unsigned interleave_nid(st/* * Return the bit number of a random bit set in the nodemask. -* (returns -1 if nodemask is empty) +* (returns NUMA_NO_NODE if nodemask is empty) */ int node_random (const nodemask_t *maskp) { -int w, bit =-1 ; +int w, bit =NUMA_NO_NODE ; w =nodes_weight (*maskp);if (w)
_
Patches currently in -mm which might be from [email protected] are
origin.patch
x86-srat-use-numa_no_node.patch
linux-next.patch