Skip to content

Commit 393d6fe

Browse files
MingcongBaiKexyBiscuit
authored andcommitted
AOSCOS: MIPS: select ARCH_FORCE_MAX_ORDER >= 11 if NUMA_BALANCING is selected
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 1804c60 commit 393d6fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/mips/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2141,9 +2141,9 @@ config ZBOOT_LOAD_ADDRESS
21412141

21422142
config ARCH_FORCE_MAX_ORDER
21432143
int "Maximum zone order"
2144-
default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_64KB
2145-
default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB
2146-
default "11" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB
2144+
default "13" if (NUMA_BALANCING || MIPS_HUGE_TLB_SUPPORT) && PAGE_SIZE_64KB
2145+
default "12" if (NUMA_BALANCING || MIPS_HUGE_TLB_SUPPORT) && PAGE_SIZE_32KB
2146+
default "11" if (NUMA_BALANCING || MIPS_HUGE_TLB_SUPPORT) && PAGE_SIZE_16KB
21472147
default "10"
21482148
help
21492149
The kernel memory allocator divides physically contiguous memory

0 commit comments

Comments
 (0)