The patch titled Add node to zone for the NUMA case has been removed from the -mm tree. Its filename is add-node-to-zone-for-the-numa-case.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: Add node to zone for the NUMA case From: Christoph Lameter <clameter@xxxxxxx> Add the node in order to optimize zone_to_nid. Signed-off-by: Christoph Lameter <clameter@xxxxxxx> Acked-by: Paul Jackson <pj@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/mm.h | 6 +++++- include/linux/mmzone.h | 1 + mm/page_alloc.c | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff -puN include/linux/mm.h~add-node-to-zone-for-the-numa-case include/linux/mm.h --- a/include/linux/mm.h~add-node-to-zone-for-the-numa-case +++ a/include/linux/mm.h @@ -446,7 +446,11 @@ static inline struct zone *page_zone(str static inline unsigned long zone_to_nid(struct zone *zone) { - return zone->zone_pgdat->node_id; +#ifdef CONFIG_NUMA + return zone->node; +#else + return 0; +#endif } static inline unsigned long page_to_nid(struct page *page) diff -puN include/linux/mmzone.h~add-node-to-zone-for-the-numa-case include/linux/mmzone.h --- a/include/linux/mmzone.h~add-node-to-zone-for-the-numa-case +++ a/include/linux/mmzone.h @@ -168,6 +168,7 @@ struct zone { unsigned long lowmem_reserve[MAX_NR_ZONES]; #ifdef CONFIG_NUMA + int node; /* * zone reclaim becomes active if more unmapped pages exist. */ diff -puN mm/page_alloc.c~add-node-to-zone-for-the-numa-case mm/page_alloc.c --- a/mm/page_alloc.c~add-node-to-zone-for-the-numa-case +++ a/mm/page_alloc.c @@ -2405,6 +2405,7 @@ static void __meminit free_area_init_cor zone->spanned_pages = size; zone->present_pages = realsize; #ifdef CONFIG_NUMA + zone->node = nid; zone->min_unmapped_pages = (realsize*sysctl_min_unmapped_ratio) / 100; zone->min_slab_pages = (realsize * sysctl_min_slab_ratio) / 100; _ Patches currently in -mm which might be from clameter@xxxxxxx are origin.patch git-ia64.patch get-rid-of-zone_table.patch get-rid-of-zone_table-fix.patch deal-with-cases-of-zone_dma-meaning-the-first-zone.patch introduce-config_zone_dma.patch optional-zone_dma-in-the-vm.patch optional-zone_dma-for-i386.patch optional-zone_dma-for-x86_64.patch optional-zone_dma-for-ia64.patch remove-zone_dma-remains-from-parisc.patch remove-zone_dma-remains-from-sh-sh64.patch radix-tree-rcu-lockless-readside.patch scheduler-numa-aware-placement-of-sched_group_allnodes.patch zvc-support-nr_slab_reclaimable--nr_slab_unreclaimable-swap_prefetch.patch reduce-max_nr_zones-swap_prefetch-remove-incorrect-use-of-zone_highmem.patch numa-add-zone_to_nid-function-swap_prefetch.patch readahead-state-based-method-aging-accounting-apply-type-enum-zone_type-readahead.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