[PATCH openEuler-23.09 0/2] Tweak gmem related configs

From: Ma Wupeng <mawupeng1@huawei.com> 1. Remove select config GMEM_DEV for gmem. 2. Enable gmem related configs. Ma Wupeng (2): mm: gmem: Remove select config GMEM_DEV for gmem openeuler_defconfig: Enable gmem related configs arch/arm64/configs/openeuler_defconfig | 2 ++ arch/x86/configs/openeuler_defconfig | 2 ++ mm/Kconfig | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) -- 2.25.1

From: Ma Wupeng <mawupeng1@huawei.com> euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7WLVX --------------------------------------------- Driver GMEM_DEV can be enabled on demand, there is no need to select it for gmem. Signed-off-by: Ma Wupeng <mawupeng1@huawei.com> --- mm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/Kconfig b/mm/Kconfig index b950407dd87f..7bf98487c1cc 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -1210,7 +1210,6 @@ config GMEM bool "gmem subsystem for multi-MMU cooperative management" depends on (ARM64 || X86_64) && MMU && TRANSPARENT_HUGEPAGE select ARCH_USES_HIGH_VMA_FLAGS - select GMEM_DEV default y help say Y here to enable gmem subsystem -- 2.25.1

From: Ma Wupeng <mawupeng1@huawei.com> euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7WLVX --------------------------------------------- Enable gmem related configs. Signed-off-by: Ma Wupeng <mawupeng1@huawei.com> --- arch/arm64/configs/openeuler_defconfig | 2 ++ arch/x86/configs/openeuler_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm64/configs/openeuler_defconfig b/arch/arm64/configs/openeuler_defconfig index 081a223bc65b..2d909358ecb2 100644 --- a/arch/arm64/configs/openeuler_defconfig +++ b/arch/arm64/configs/openeuler_defconfig @@ -1076,6 +1076,7 @@ CONFIG_HAVE_ARCH_USERFAULTFD_MINOR=y # CONFIG_LRU_GEN is not set CONFIG_ARCH_SUPPORTS_PER_VMA_LOCK=y CONFIG_PER_VMA_LOCK=y +CONFIG_GMEM=y # # Data Access Monitoring @@ -3482,6 +3483,7 @@ CONFIG_TCG_TIS_ST33ZP24_I2C=m CONFIG_TCG_TIS_ST33ZP24_SPI=m # CONFIG_XILLYBUS is not set # CONFIG_XILLYUSB is not set +CONFIG_GMEM_DEV=m # end of Character devices # diff --git a/arch/x86/configs/openeuler_defconfig b/arch/x86/configs/openeuler_defconfig index f6140635690e..24c7560f74c4 100644 --- a/arch/x86/configs/openeuler_defconfig +++ b/arch/x86/configs/openeuler_defconfig @@ -1102,6 +1102,7 @@ CONFIG_PTE_MARKER_UFFD_WP=y # CONFIG_LRU_GEN is not set CONFIG_ARCH_SUPPORTS_PER_VMA_LOCK=y CONFIG_PER_VMA_LOCK=y +CONFIG_GMEM=y # # Data Access Monitoring @@ -3731,6 +3732,7 @@ CONFIG_TCG_TIS_ST33ZP24_SPI=m CONFIG_TELCLOCK=m # CONFIG_XILLYBUS is not set # CONFIG_XILLYUSB is not set +CONFIG_GMEM_DEV=m # end of Character devices # -- 2.25.1

反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/1951 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/L... FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/1951 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/L...
participants (2)
-
patchwork bot
-
Wupeng Ma