The patch titled Subject: memory-hotplug: tile: suitable memory should go to ZONE_MOVABLE has been removed from the -mm tree. Its filename was memory-hotplug-tile-suitable-memory-should-go-to-zone_movable.patch This patch was dropped because it was withdrawn ------------------------------------------------------ From: Wang Nan <wangnan0@xxxxxxxxxx> Subject: memory-hotplug: tile: suitable memory should go to ZONE_MOVABLE This patch introduces zone_for_memory() to arch_add_memory() on tile to ensure new, higher memory added into ZONE_MOVABLE if movable zone has already setup. This patch also fix a problem: on tile, new memory should be added into ZONE_HIGHMEM by default, not MAX_NR_ZONES-1, which is ZONE_MOVABLE. Signed-off-by: Wang Nan <wangnan0@xxxxxxxxxx> Cc: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx> Cc: Dave Hansen <dave.hansen@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Yinghai Lu <yinghai@xxxxxxxxxx> Cc: "Mel Gorman" <mgorman@xxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Cc: "Luck, Tony" <tony.luck@xxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Chris Metcalf <cmetcalf@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/tile/mm/init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN arch/tile/mm/init.c~memory-hotplug-tile-suitable-memory-should-go-to-zone_movable arch/tile/mm/init.c --- a/arch/tile/mm/init.c~memory-hotplug-tile-suitable-memory-should-go-to-zone_movable +++ a/arch/tile/mm/init.c @@ -872,7 +872,8 @@ void __init mem_init(void) int arch_add_memory(u64 start, u64 size) { struct pglist_data *pgdata = &contig_page_data; - struct zone *zone = pgdata->node_zones + MAX_NR_ZONES-1; + struct zone *zone = pgdata->node_zones + + zone_for_memory(nid, start, size, ZONE_HIGHMEM); unsigned long start_pfn = start >> PAGE_SHIFT; unsigned long nr_pages = size >> PAGE_SHIFT; _ Patches currently in -mm which might be from wangnan0@xxxxxxxxxx are mem-hotplug-improve-zone_movable_is_highmem-logic.patch memory-hotplug-add-zone_for_memory-for-selecting-zone-for-new-memory.patch memory-hotplug-x86_64-suitable-memory-should-go-to-zone_movable.patch memory-hotplug-x86_32-suitable-memory-should-go-to-zone_movable.patch memory-hotplug-ia64-suitable-memory-should-go-to-zone_movable.patch memory-hotplug-ppc-suitable-memory-should-go-to-zone_movable.patch memory-hotplug-sh-suitable-memory-should-go-to-zone_movable.patch linux-next.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