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:
Mingcong Bai 2024-12-12 16:07:57 +08:00 committed by 忘怀
parent 0379e36c7e
commit 3d3a836767
1 changed files with 1 additions and 0 deletions

View File

@ -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