The patch titled Subject: kernel/profile.c: replace cpu_to_mem() with cpu_to_node() has been removed from the -mm tree. Its filename was kernel-profilec-replace-cpu_to_mem-with-cpu_to_node.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ From: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx> Subject: kernel/profile.c: replace cpu_to_mem() with cpu_to_node() Function profile_cpu_callback() allocates memory without specifying __GFP_THISNODE flag, so replace cpu_to_mem() with cpu_to_node() because cpu_to_mem() may cause suboptimal memory allocation if there's no free memory on the node returned by cpu_to_mem(). It's safe to use cpu_to_mem() because build_all_zonelists() also builds suitable fallback zonelist for memoryless node. Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx> Cc: Mel Gorman <mgorman@xxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Cc: Mike Galbraith <umgwanakikbuti@xxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: "Rafael J . Wysocki" <rafael.j.wysocki@xxxxxxxxx> Cc: Tang Chen <tangchen@xxxxxxxxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Cc: Tony Luck <tony.luck@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/profile.c~kernel-profilec-replace-cpu_to_mem-with-cpu_to_node kernel/profile.c --- a/kernel/profile.c~kernel-profilec-replace-cpu_to_mem-with-cpu_to_node +++ a/kernel/profile.c @@ -336,7 +336,7 @@ static int profile_cpu_callback(struct n switch (action) { case CPU_UP_PREPARE: case CPU_UP_PREPARE_FROZEN: - node = cpu_to_mem(cpu); + node = cpu_to_node(cpu); per_cpu(cpu_profile_flip, cpu) = 0; if (!per_cpu(cpu_profile_hits, cpu)[1]) { page = __alloc_pages_node(node, _ Patches currently in -mm which might be from jiang.liu@xxxxxxxxxxxxxxx are sgi-xp-replace-cpu_to_node-with-cpu_to_mem-to-support-memoryless-node.patch 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 -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html