From 016949aaa4946458c1d54a693e57527b807254cf Mon Sep 17 00:00:00 2001 From: Georg Veichtlbauer Date: Wed, 15 Jun 2022 13:33:51 +0200 Subject: [PATCH] sm6150-common: Remove max ZRAM compression streams setting Kernels >4.7 will create a comp stream for each online CPU and ignore /sys/block/max_compression_streams. This has been backported to many 4.4 kernels as well. Any device running a kernel with the upstream commit can safely remove the parameter. Upstream commit: https://github.com/torvalds/linux/commit/43209ea2d17aae1540d4e28274e36404f72702f2 Change-Id: Ibb29b54a31f0fb5bd941d7709d15d571dd77ebf5 --- rootdir/etc/fstab.zram | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/fstab.zram b/rootdir/etc/fstab.zram index fcfee7b..fa7067a 100644 --- a/rootdir/etc/fstab.zram +++ b/rootdir/etc/fstab.zram @@ -1,4 +1,4 @@ # Android fstab file. # -/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8,zram_backingdev_size=512M +/dev/block/zram0 none swap defaults zramsize=2147483648,zram_backingdev_size=512M