From 89efaaeccf4abbba5540b5fcdf5e5eb5c5c8a217 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Tue, 19 Nov 2024 17:51:54 +0100 Subject: [PATCH] ARM64: configs: disable ZRAM_LRU_WRITEBACK --- arch/arm64/configs/a53x-nodebug_defconfig | 2 -- arch/arm64/configs/a53x_defconfig | 2 -- drivers/block/zram/Kconfig | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/arm64/configs/a53x-nodebug_defconfig b/arch/arm64/configs/a53x-nodebug_defconfig index 58dc013b7..83080ac4a 100755 --- a/arch/arm64/configs/a53x-nodebug_defconfig +++ b/arch/arm64/configs/a53x-nodebug_defconfig @@ -1853,8 +1853,6 @@ CONFIG_BLK_DEV=y CONFIG_ZRAM=m CONFIG_ZRAM_WRITEBACK=y # CONFIG_ZRAM_MEMORY_TRACKING is not set -CONFIG_ZRAM_LRU_WRITEBACK=y -CONFIG_ZRAM_LRU_WRITEBACK_LIMIT=5120 # CONFIG_BLK_DEV_UMEM is not set CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 diff --git a/arch/arm64/configs/a53x_defconfig b/arch/arm64/configs/a53x_defconfig index 8337321cb..f00f2956d 100755 --- a/arch/arm64/configs/a53x_defconfig +++ b/arch/arm64/configs/a53x_defconfig @@ -1873,8 +1873,6 @@ CONFIG_BLK_DEV=y CONFIG_ZRAM=m CONFIG_ZRAM_WRITEBACK=y # CONFIG_ZRAM_MEMORY_TRACKING is not set -CONFIG_ZRAM_LRU_WRITEBACK=y -CONFIG_ZRAM_LRU_WRITEBACK_LIMIT=5120 # CONFIG_BLK_DEV_UMEM is not set CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 diff --git a/drivers/block/zram/Kconfig b/drivers/block/zram/Kconfig index 3a56d6609..a39319e12 100755 --- a/drivers/block/zram/Kconfig +++ b/drivers/block/zram/Kconfig @@ -42,7 +42,7 @@ config ZRAM_MEMORY_TRACKING config ZRAM_LRU_WRITEBACK bool depends on ZRAM_WRITEBACK - default y + default n help This feature supports zram lru-based writeback (SQZR).