Re: [PATCH] config/mips: support zswap function
From: mengfanhui
Date: Tue Mar 19 2024 - 22:01:15 EST
Who will be responsible for reviewing this? This is a necessary feature of the kernel that many testing agencies need to test
在 2024/1/26 15:55, mengfanhui 写道:
> Solution /sys/module/zswap/parameters/enabled attribute node
> does not exist issue,handle zpool zbud initialization failed,
> open CONFIG_ZSWAP CONFIG_ZPOOL CONFIG_ZBUD configuration,manual
> zswap function by /sys/module/zswap/parameters/enabled file
>
> Signed-off-by: mengfanhui <mengfanhui@xxxxxxxxxx>
> ---
> arch/mips/configs/generic_defconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/mips/configs/generic_defconfig b/arch/mips/configs/generic_defconfig
> index 071e2205c7ed..14884df392f4 100644
> --- a/arch/mips/configs/generic_defconfig
> +++ b/arch/mips/configs/generic_defconfig
> @@ -13,6 +13,9 @@ CONFIG_CGROUP_DEVICE=y
> CONFIG_CGROUP_CPUACCT=y
> CONFIG_NAMESPACES=y
> CONFIG_USER_NS=y
> +CONFIG_ZSWAP=y
> +CONFIG_ZPOOL=y
> +CONFIG_ZBUD=y
> CONFIG_SCHED_AUTOGROUP=y
> CONFIG_BLK_DEV_INITRD=y
> CONFIG_BPF_SYSCALL=y