2018-12-26 13:39:51

by Fengguang Wu

[permalink] [raw]
Subject: [RFC][PATCH v2 06/21] x86,numa: update numa node type

From: Fan Du <[email protected]>

Signed-off-by: Fan Du <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
---
arch/x86/mm/numa.c | 1 +
1 file changed, 1 insertion(+)

--- linux.orig/arch/x86/mm/numa.c 2018-12-23 19:38:17.363582512 +0800
+++ linux/arch/x86/mm/numa.c 2018-12-23 19:38:17.363582512 +0800
@@ -594,6 +594,7 @@ static int __init numa_register_memblks(
continue;

alloc_node_data(nid);
+ set_node_type(nid);
}

/* Dump memblock with node info and return. */