Skip to content

Commit 696c35f

Browse files
MingcongBaiKexyBiscuit
authored andcommitted
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 <[email protected]> Signed-off-by: Kexy Biscuit <[email protected]>
1 parent 393d6fe commit 696c35f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

init/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -940,6 +940,7 @@ config NUMA_BALANCING
940940
depends on ARCH_SUPPORTS_NUMA_BALANCING
941941
depends on !ARCH_WANT_NUMA_VARIABLE_LOCALITY
942942
depends on SMP && NUMA && MIGRATION && !PREEMPT_RT
943+
depends on TRANSPARENT_HUGEPAGE || !MIPS
943944
help
944945
This option adds support for automatic NUMA aware memory/task placement.
945946
The mechanism is quite primitive and is based on migrating memory when

0 commit comments

Comments
 (0)