Re: [PATCH 2/2] x86/numa_emulation: Introduce uniform split capability

2018-08-16 Thread Wei Yang
On Sat, May 26, 2018 at 05:56:57PM -0700, Dan Williams wrote: ... > >numa=fake=6 >available: 5 nodes (0-4) >node 0 cpus: 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 >node 0 size: 2648 MB >node 0 free: 2443 MB >node 1 cpus: 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 >node 1 si

[PATCH 2/2] x86/numa_emulation: Introduce uniform split capability

2018-05-26 Thread Dan Williams
The current numa emulation capabilities for splitting System RAM by a fixed size or by a set number of nodes may result in some nodes being larger than others. The implementation prioritizes establishing a minimum usable memory size over satisfying the requested number of numa nodes. Introduce a u