Skip to content

Commit

Permalink
Enable zRAM WriteBack
Browse files Browse the repository at this point in the history
  • Loading branch information
liyafe1997 committed Nov 30, 2024
1 parent 3e9319a commit 55a67ba
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch/arm64/configs/alioth_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/apollo_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/cas_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/cmi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/dagu_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/elish_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/enuma_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/lmi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/munch_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/pipa_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/psyche_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/thyme_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/configs/umi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion arch/arm64/configs/vendor/xiaomi/sm8250-common.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
CONFIG_CFS_BANDWIDTH=y

# Enable zRAM WriteBack
CONFIG_ZRAM_WRITEBACK=y

0 comments on commit 55a67ba

Please sign in to comment.