Messages in this thread Patch in this message | | | From | Fan Du <> | Subject | [RFC PATCH 3/5] x86,numa: update numa node type | Date | Thu, 25 Apr 2019 09:21:33 +0800 |
| |
Give the newly created node a type per SRAT attribution.
Signed-off-by: Fan Du <fan.du@intel.com> --- arch/x86/mm/numa.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 3c3a1f5..ff8ad63 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c @@ -590,6 +590,7 @@ static int __init numa_register_memblks(struct numa_meminfo *mi) continue; alloc_node_data(nid); + set_node_type(nid); } /* Dump memblock with node info and return. */ -- 1.8.3.1
| |