AOSCOS: init: make NUMA_BALANCING depend on TRANSPARENT_HUGEPAGE if MIPS
This should suppress an assertion failure during build. Further investigation should be conducted when possible. Fixes: "BACKPORT: FROMLIST: mips/mm: Add NUMA balancing support" Signed-off-by: Mingcong Bai <jeffbai@aosc.io> Signed-off-by: Kexy Biscuit <kexybiscuit@aosc.io>
This commit is contained in:
parent
0379e36c7e
commit
3d3a836767
|
@ -911,6 +911,7 @@ config NUMA_BALANCING
|
|||
depends on ARCH_SUPPORTS_NUMA_BALANCING
|
||||
depends on !ARCH_WANT_NUMA_VARIABLE_LOCALITY
|
||||
depends on SMP && NUMA && MIGRATION && !PREEMPT_RT
|
||||
depends on TRANSPARENT_HUGEPAGE || !MIPS
|
||||
help
|
||||
This option adds support for automatic NUMA aware memory/task placement.
|
||||
The mechanism is quite primitive and is based on migrating memory when
|
||||
|
|
Loading…
Reference in New Issue