Skip to content

Refine numa_emulation

Wei Yang lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v23 patches 8 repliesSuperseded
  3. v13 patches 7 repliesSuperseded

Changes in v3 from the cover letter

* remote the error branch and split the loop into a function
* refine the comment

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/numa_emulation: refine the calculation of max_emu_nid and dfl_phys_nidarch/x86/mm/numa_emulation.c+17 -132 replies
2/3x86/numa_emulation: assign physnode_mask directly from numa_nodes_parsedarch/x86/mm/numa_emulation.c+8 -100 replies
3/3x86/numa_emulation: restructures numa_nodes_parsed from emulated nodesarch/x86/mm/numa_emulation.c+7 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDavid RientjesBorislav Petkov
1/3
2/3A-b R-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/3] Refine numa_emulation

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

V3:
* remote the error branch and split the loop into a function
* refine the comment

V2:
* refresh the change log based on David comments
* use nodes_clear()

Wei Yang (3):
x86/numa_emulation: refine the calculation of max_emu_nid and
dfl_phys_nid
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 | 55 ++++++++++++++++++++++++++------------------
 1 file changed, 32 insertions(+), 23 deletions(-)
Signature · 1 line
2.11.0