From edbfe85d219117f5f5a5d244099e6f0edcb2220e Mon Sep 17 00:00:00 2001 From: Mingcong Bai Date: Mon, 27 May 2024 11:09:13 +0800 Subject: [PATCH] arch: config: loongarch: use 16K pages in deepin_loongarch_desktop_config While using 4K pages may provide better performance, this configuration will degrade compatibility with certain applications (especially those built upon Electron, i.e., Tencent QQ). Use 16K pages instead, as most distributions currently do. --- arch/loongarch/configs/deepin_loongarch_desktop_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/loongarch/configs/deepin_loongarch_desktop_defconfig b/arch/loongarch/configs/deepin_loongarch_desktop_defconfig index df927140581e9..a77fafde7f614 100644 --- a/arch/loongarch/configs/deepin_loongarch_desktop_defconfig +++ b/arch/loongarch/configs/deepin_loongarch_desktop_defconfig @@ -53,6 +53,7 @@ CONFIG_KEXEC=y CONFIG_CRASH_DUMP=y CONFIG_HZ_1000=y CONFIG_NR_CPUS=256 +CONFIG_16KB_3LEVEL=y CONFIG_NUMA=y CONFIG_ARCH_FORCE_MAX_ORDER=12 CONFIG_ARCH_IOREMAP=y