diff --git a/arch/arm64/configs/alioth_defconfig b/arch/arm64/configs/alioth_defconfig index 9c0828e20cb7..82536a5d87d1 100644 --- a/arch/arm64/configs/alioth_defconfig +++ b/arch/arm64/configs/alioth_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/apollo_defconfig b/arch/arm64/configs/apollo_defconfig index c2d1aa259f96..6fc95aff37bd 100644 --- a/arch/arm64/configs/apollo_defconfig +++ b/arch/arm64/configs/apollo_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/cas_defconfig b/arch/arm64/configs/cas_defconfig index 9eb8c4815cef..b1e2899ddfaf 100644 --- a/arch/arm64/configs/cas_defconfig +++ b/arch/arm64/configs/cas_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/cmi_defconfig b/arch/arm64/configs/cmi_defconfig index 8607eda6f5d4..b9bc084b9d81 100644 --- a/arch/arm64/configs/cmi_defconfig +++ b/arch/arm64/configs/cmi_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/dagu_defconfig b/arch/arm64/configs/dagu_defconfig index 48d829275ff2..167ca7f01a4a 100644 --- a/arch/arm64/configs/dagu_defconfig +++ b/arch/arm64/configs/dagu_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/elish_defconfig b/arch/arm64/configs/elish_defconfig index eaba33be8567..2e173c60da32 100644 --- a/arch/arm64/configs/elish_defconfig +++ b/arch/arm64/configs/elish_defconfig @@ -294,6 +294,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/enuma_defconfig b/arch/arm64/configs/enuma_defconfig index 84ada1016e6a..463a8a8d1b03 100644 --- a/arch/arm64/configs/enuma_defconfig +++ b/arch/arm64/configs/enuma_defconfig @@ -294,6 +294,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/lmi_defconfig b/arch/arm64/configs/lmi_defconfig index beca8eddaeee..2bf9e5fcfd32 100644 --- a/arch/arm64/configs/lmi_defconfig +++ b/arch/arm64/configs/lmi_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/munch_defconfig b/arch/arm64/configs/munch_defconfig index 562789fd93b0..273463a6e545 100644 --- a/arch/arm64/configs/munch_defconfig +++ b/arch/arm64/configs/munch_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/pipa_defconfig b/arch/arm64/configs/pipa_defconfig index 960a1c3fed07..bd99c04ebee9 100644 --- a/arch/arm64/configs/pipa_defconfig +++ b/arch/arm64/configs/pipa_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/psyche_defconfig b/arch/arm64/configs/psyche_defconfig index b9a6cf0d28e9..82dad77b95ae 100644 --- a/arch/arm64/configs/psyche_defconfig +++ b/arch/arm64/configs/psyche_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/thyme_defconfig b/arch/arm64/configs/thyme_defconfig index f0016e1b2b99..9482a389bb53 100644 --- a/arch/arm64/configs/thyme_defconfig +++ b/arch/arm64/configs/thyme_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/umi_defconfig b/arch/arm64/configs/umi_defconfig index 13b41e9def2d..5e216c882051 100644 --- a/arch/arm64/configs/umi_defconfig +++ b/arch/arm64/configs/umi_defconfig @@ -293,6 +293,7 @@ CONFIG_MTD_BLOCK=y CONFIG_MTD_OOPS=y CONFIG_MTD_BLOCK2MTD=y CONFIG_ZRAM=y +CONFIG_ZRAM_WRITEBACK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 CONFIG_BLK_DEV_RAM=y diff --git a/arch/arm64/configs/vendor/xiaomi/sm8250-common.config b/arch/arm64/configs/vendor/xiaomi/sm8250-common.config index 9b03f69cc321..f9c0b9c481d4 100644 --- a/arch/arm64/configs/vendor/xiaomi/sm8250-common.config +++ b/arch/arm64/configs/vendor/xiaomi/sm8250-common.config @@ -128,4 +128,7 @@ CONFIG_MEMORY_HOTPLUG=n CONFIG_UNICODE=y # Enable CFS Bandwidth Control (Maybe useful for some freezer modules) -CONFIG_CFS_BANDWIDTH=y \ No newline at end of file +CONFIG_CFS_BANDWIDTH=y + +# Enable zRAM WriteBack +CONFIG_ZRAM_WRITEBACK=y \ No newline at end of file