Skip to content

RFC i386: NUMA emulation

Magnus Damm linux-mm linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7i386: srat non acpiarch/i386/kernel/srat.c+6 -10 replies
2/7i386: numa on non-smpinclude/asm-i386/topology.h include/linux/topology.h+7 -20 replies
3/7cpuset: smp or numainit/Kconfig kernel/cpuset.c+3 -10 replies
4/7i386: numa warning fixinclude/asm-i386/pgtable-3level.h include/asm-i386/pgtable.h+2 -10 replies
5/7i386: sparsemem on pcarch/i386/Kconfig arch/i386/kernel/setup.c+3 -22 replies
6/7i386: discontigmem on pcarch/i386/Kconfig include/asm-i386/mmzone.h include/linux/mmzone.h +2 more+15 -50 replies
7/7i386: numa emulation on pcarch/i386/Kconfig arch/i386/kernel/setup.c arch/i386/mm/numa.c +2 more+145 -186 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/07][RFC] i386: NUMA emulation

These patches implement NUMA memory node emulation for regular i386 PC:s.

NUMA emulation could be used to provide coarse-grained memory resource control using CPUSETS. Another use is as a test environment for NUMA memory code or CPUSETS using an i386 emulator such as QEMU.

A similar feature was accepted for x86_64 back in 2.6.9. These patches use the same config options and kernel command line parameters as the x86_64 code.

Patches that depend on 2.6.14-rc2:

[PATCH 01/07] i386: srat non acpi
[PATCH 02/07] i386: numa on non-smp
[PATCH 03/07] cpuset: smp or numa

Patches that depend on 2.6.14-rc2 plus two patches written by Dave Hansen and posted to lkml and linux-mm at Sep 13 2005:

i386: consolidate discontig functions into normal ones
i386: move NUMA code into numa.c

[PATCH 04/07] i386: numa warning fix
[PATCH 05/07] i386: sparsemem on pc
[PATCH 06/07] i386: discontigmem on pc
[PATCH 07/07] i386: numa emulation on pc

To test, configure your i386 kernel with CONFIG_X86_PC, CONFIG_NUMA_EMU and CONFIG_NUMA all set and pass "numa=fake=2" to the kernel to emulate two nodes.

Feedback is very appreciated.

Thanks,

/ magnus

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>