diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2016-09-01 14:55:00 +0800 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-09-09 14:59:09 +0100 |
commit | 7af3a0a992524ffddc342cd1481cc4dcb3f1da71 (patch) | |
tree | 0fe00c78d4f47e6b2c3ddd15cd25413fd51695ee /arch/arm64/Kconfig | |
parent | f11c7bacd5941fcfc5e9dd3bb0362e8a2eec4722 (diff) | |
download | linux-7af3a0a992524ffddc342cd1481cc4dcb3f1da71.tar.gz linux-7af3a0a992524ffddc342cd1481cc4dcb3f1da71.tar.bz2 linux-7af3a0a992524ffddc342cd1481cc4dcb3f1da71.zip |
arm64/numa: support HAVE_SETUP_PER_CPU_AREA
To make each percpu area allocated from its local numa node. Without this
patch, all percpu areas will be allocated from the node which cpu0 belongs
to.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e072033b27b2..0e11c8a2aec1 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -600,6 +600,14 @@ config USE_PERCPU_NUMA_NODE_ID def_bool y depends on NUMA +config HAVE_SETUP_PER_CPU_AREA + def_bool y + depends on NUMA + +config NEED_PER_CPU_EMBED_FIRST_CHUNK + def_bool y + depends on NUMA + source kernel/Kconfig.preempt source kernel/Kconfig.hz |