sm7250-common: Enable zram writeback

This is a squash of:
Author: Minchan Kim <minchan@google.com>
Date:   Mon Oct 14 14:22:45 2019 -0700

    Enable zram writeback job scheduler

    Bug: 140882488
    Change-Id: I5489a7ce7a8d73306a6ecf69f57d338b2b0eaad2
    Signed-off-by: Minchan Kim <minchan@google.com>

Author: Minchan Kim <minchan@google.com>
Date:   Tue Nov 26 06:48:48 2019 -0800

    fstab: correct zram parameter names

    There was a report about warning during boot.
    [libfs_mgr]Warning: unknown flag: zram_loopback_path=/data/per_boot/zram_swap
    [libfs_mgr]Warning: unknown flag: zram_loopback_size=512M

    We don't use zram_loopback_path any longer so remove it.
    We also changed zram_loopback_size with zram_backingdev_size so correct it.

    Bug: 145116439
    Test: confirmed there is no warning and zram backing device was configured
    Change-Id: Iafb355999cd4995f34bf67259a8a39993ae8326a
    Signed-off-by: Minchan Kim <minchan@google.com>

Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
This commit is contained in:
Minchan Kim
2019-10-14 14:22:58 -07:00
committed by Sandeep P S
parent 84cab334a0
commit 7233137d2c
2 changed files with 8 additions and 0 deletions

View File

@@ -373,4 +373,7 @@
<!-- Screen off delay -->
<integer name="config_screen_off_delay">0</integer>
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
<bool name="config_zramWriteback">true</bool>
</resources>