- add-node-to-zone-for-the-numa-case-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     zone_to_nid need #ifdef CONFIG_NUMA

has been removed from the -mm tree.  Its filename is

     add-node-to-zone-for-the-numa-case-fix.patch

This patch was dropped because it was folded into add-node-to-zone-for-the-numa-case.patch

------------------------------------------------------
Subject: zone_to_nid need #ifdef CONFIG_NUMA
From: Christoph Lameter <clameter@xxxxxxx>

Need #ifdef CONFIG_NUMA since node field is only defined for NUMA

Signed-off-by: Christoph Lameter <clameter@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/mm.h |    4 ++++
 1 files changed, 4 insertions(+)

diff -puN include/linux/mm.h~add-node-to-zone-for-the-numa-case-fix include/linux/mm.h
--- a/include/linux/mm.h~add-node-to-zone-for-the-numa-case-fix
+++ 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)
 {
+#ifdef CONFIG_NUMA
 	return zone->node;
+#else
+	return 0;
+#endif
 }
 
 static inline unsigned long page_to_nid(struct page *page)
_

Patches currently in -mm which might be from clameter@xxxxxxx are

origin.patch
slab-fix-kmalloc_node-applying-memory-policies-if-nodeid-==-numa_node_id.patch
add-numa_build-definition-in-kernelh-to-avoid-ifdef.patch
disable-gfp_thisnode-in-the-non-numa-case.patch
gfp_thisnode-for-the-slab-allocator-v2.patch
add-node-to-zone-for-the-numa-case.patch
add-node-to-zone-for-the-numa-case-fix.patch
do-not-allocate-pagesets-for-unpopulated-zones.patch
zone_statistics-use-hot-node-instead-of-cold-zone_pgdat.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux