Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
BACKPORT: arm64: Kconfig: Enable NODES_SPAN_OTHER_NODES config for NUMA
Browse files Browse the repository at this point in the history
Some NUMA nodes have memory ranges that span other nodes.
Even though a pfn is valid and between a node's start and end pfns,
it may not reside on that node.

This patch enables NODES_SPAN_OTHER_NODES config for NUMA to support
this type of NUMA layout.

This patch is in open source review progress and is backported from:
https://www.spinics.net/lists/arm-kernel/msg737306.html

Signed-off-by: Hoan Tran <[email protected]>
Signed-off-by: Khuong Dinh <[email protected]>
  • Loading branch information
hoantran-ampere authored and tphan-ampere committed Apr 21, 2020
1 parent 44fb326 commit 9db4e45
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,13 @@ config HOLES_IN_ZONE
def_bool y
depends on NUMA

# Some NUMA nodes have memory ranges that span other nodes.
# Even though a pfn is valid and between a node's start and end pfns,
# it may not reside on that node.
config NODES_SPAN_OTHER_NODES
def_bool y
depends on ACPI_NUMA

source kernel/Kconfig.preempt
source kernel/Kconfig.hz

Expand Down

0 comments on commit 9db4e45

Please sign in to comment.