[PATCH 0/3] Refine numa_emulation

From: Wei Yang
Date: Mon Apr 10 2017 - 12:57:12 EST


My previous patch "x86/mm/numa: Remove numa_nodemask_from_meminfo()" hits a
problem in numa_emulation. The reason is numa_nodes_parsed is not set
correctly after emulation.

This patch set tries to fix this and also with two code refine.

Detailed discussions are in this thread:

https://lkml.org/lkml/2017/3/13/1230

and test result is posted :

https://lkml.org/lkml/2017/4/10/641

Wei Yang (3):
x86/numa_emulation: fix potential memory leak
x86/numa_emulation: assign physnode_mask directly from
numa_nodes_parsed
x86/numa_emulation: restructures numa_nodes_parsed from emulated nodes

arch/x86/mm/numa_emulation.c | 61 ++++++++++++++++++++++++--------------------
1 file changed, 33 insertions(+), 28 deletions(-)

--
2.11.0