hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9K8D1 CVE: NA
----------------------------------------
Enable CONFIG_SWAP_EXTENSION to support swap_extension.
Signed-off-by: Liu Shixin liushixin2@huawei.com --- arch/arm64/configs/openeuler_defconfig | 1 + arch/x86/configs/openeuler_defconfig | 1 + 2 files changed, 2 insertions(+)
diff --git a/arch/arm64/configs/openeuler_defconfig b/arch/arm64/configs/openeuler_defconfig index a8f83a4e2a4f..efab422d9bd3 100644 --- a/arch/arm64/configs/openeuler_defconfig +++ b/arch/arm64/configs/openeuler_defconfig @@ -1126,6 +1126,7 @@ CONFIG_ETMEM_SWAP=m CONFIG_ETMEM=y CONFIG_USERSWAP=y # CONFIG_PAGE_CACHE_LIMIT is not set +CONFIG_SWAP_EXTENSION=y CONFIG_CMA=y # CONFIG_CMA_DEBUG is not set # CONFIG_CMA_DEBUGFS is not set diff --git a/arch/x86/configs/openeuler_defconfig b/arch/x86/configs/openeuler_defconfig index 86a2e4ea72da..46c16c7bfc25 100644 --- a/arch/x86/configs/openeuler_defconfig +++ b/arch/x86/configs/openeuler_defconfig @@ -1059,6 +1059,7 @@ CONFIG_ETMEM_SWAP=m CONFIG_ETMEM=y CONFIG_USERSWAP=y # CONFIG_PAGE_CACHE_LIMIT is not set +CONFIG_SWAP_EXTENSION=y # CONFIG_CMA is not set CONFIG_MEM_SOFT_DIRTY=y CONFIG_ZSWAP=y