diff options
author | Alexandre Ghiti | 2023-12-12 22:34:57 +0100 |
---|---|---|
committer | Dennis Zhou | 2023-12-14 00:24:06 -0800 |
commit | 6b9f29b81b155af023da95f560f738f29722b306 (patch) | |
tree | fa31f30d1576fb32ca2c77d3f818688ea1a317fe /Documentation/features | |
parent | 7a92fc8b4d20680e4c20289a670d8fca2d1f2c1b (diff) |
riscv: Enable pcpu page first chunk allocator
As explained in commit 6ea529a2037c ("percpu: make embedding first chunk
allocator check vmalloc space size"), the embedding first chunk allocator
needs the vmalloc space to be larger than the maximum distance between
units which are grouped into NUMA nodes.
On a very sparse NUMA configurations and a small vmalloc area (for example,
it is 64GB in sv39), the allocation of dynamic percpu data in the vmalloc
area could fail.
So provide the pcpu page allocator as a fallback in case we fall into
such a sparse configuration (which happened in arm64 as shown by
commit 09cea6195073 ("arm64: support page mapping percpu first chunk
allocator")).
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Diffstat (limited to 'Documentation/features')
0 files changed, 0 insertions, 0 deletions