* [to-be-updated] sgi-xp-replace-cpu_to_node-with-cpu_to_mem-to-support-memoryless-node.patch removed from -mm tree
@ 2015-11-09 21:52 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2015-11-09 21:52 UTC (permalink / raw)
To: jiang.liu, hpa, mgorman, mingo, peterz, rafael.j.wysocki,
rientjes, tangchen, tglx, tj, tony.luck, umgwanakikbuti,
mm-commits
The patch titled
Subject: sgi-xp: replace cpu_to_node() with cpu_to_mem() to support memoryless node
has been removed from the -mm tree. Its filename was
sgi-xp-replace-cpu_to_node-with-cpu_to_mem-to-support-memoryless-node.patch
This patch was dropped because an updated version will be merged
------------------------------------------------------
From: Jiang Liu <jiang.liu@linux.intel.com>
Subject: sgi-xp: replace cpu_to_node() with cpu_to_mem() to support memoryless node
xpc_create_gru_mq_uv() allocates memory with __GFP_THISNODE flag set,
which may cause permanent memory allocation failure on memoryless node.
So replace cpu_to_node() with cpu_to_mem() to better support memoryless
node. For node with memory, cpu_to_mem() is the same as cpu_to_node().
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Rafael J . Wysocki" <rafael.j.wysocki@intel.com>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/misc/sgi-xp/xpc_uv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/misc/sgi-xp/xpc_uv.c~sgi-xp-replace-cpu_to_node-with-cpu_to_mem-to-support-memoryless-node drivers/misc/sgi-xp/xpc_uv.c
--- a/drivers/misc/sgi-xp/xpc_uv.c~sgi-xp-replace-cpu_to_node-with-cpu_to_mem-to-support-memoryless-node
+++ a/drivers/misc/sgi-xp/xpc_uv.c
@@ -238,7 +238,7 @@ xpc_create_gru_mq_uv(unsigned int mq_siz
mq->mmr_blade = uv_cpu_to_blade_id(cpu);
- nid = cpu_to_node(cpu);
+ nid = cpu_to_mem(cpu);
page = __alloc_pages_node(nid,
GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE,
pg_order);
_
Patches currently in -mm which might be from jiang.liu@linux.intel.com are
openvswitch-replace-cpu_to_node-with-cpu_to_mem-to-support-memoryless-node.patch
x86-numa-kill-useless-code-to-improve-code-readability.patch
mm-update-_mem_id_-for-every-possible-cpu-when-memory-configuration-changes.patch
mm-x86-enable-memoryless-node-support-to-better-support-cpu-memory-hotplug.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-09 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-09 21:52 [to-be-updated] sgi-xp-replace-cpu_to_node-with-cpu_to_mem-to-support-memoryless-node.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.