]> Git Repo - linux.git/commit
arm64: support page mapping percpu first chunk allocator
authorKefeng Wang <[email protected]>
Fri, 5 Nov 2021 20:39:44 +0000 (13:39 -0700)
committerLinus Torvalds <[email protected]>
Sat, 6 Nov 2021 20:30:37 +0000 (13:30 -0700)
commit09cea6195073ee1d0f076d907d9249045757245d
treedb3a9bc956fca20c2ce09b276478d234b8af0396
parent0eb68437a7f9dfef9c218873310c66c714f2fa99
arm64: support page mapping percpu first chunk allocator

Percpu embedded first chunk allocator is the firstly option, but it
could fails on ARM64, eg,

  percpu: max_distance=0x5fcfdc640000 too large for vmalloc space 0x781fefff0000
  percpu: max_distance=0x600000540000 too large for vmalloc space 0x7dffb7ff0000
  percpu: max_distance=0x5fff9adb0000 too large for vmalloc space 0x5dffb7ff0000

then we could get

  WARNING: CPU: 15 PID: 461 at vmalloc.c:3087 pcpu_get_vm_areas+0x488/0x838

and the system could not boot successfully.

Let's implement page mapping percpu first chunk allocator as a fallback
to the embedding allocator to increase the robustness of the system.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kefeng Wang <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Cc: Andrey Konovalov <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Marco Elver <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/arm64/Kconfig
drivers/base/arch_numa.c
This page took 0.051701 seconds and 4 git commands to generate.