miatoll: Enable zram-writeback job

This patch enables zram-writeback job. It will run idle marking
at 60m since the device is boot. After that, it will do first
writeback after 3hour to sweep initiallized cold pages out.
After that, it periodically write out every 24hour.

Bug: 117682284
Bug: 127185055
Test: confirm with manual testing
Change-Id: I6857c79ca3ce6a3619f4b7e200d7f17a8decd659
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
Randall Huang 2019-03-15 17:23:50 +08:00 committed by Aryan Gupta
parent fd9678234e
commit a3abaacfe5
2 changed files with 8 additions and 0 deletions

View File

@ -616,4 +616,7 @@
available on some devices. -->
<bool name="config_enableHapticTextHandle">true</bool>
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
<bool name="config_zramWriteback">true</bool>
</resources>

View File

@ -190,3 +190,8 @@ persist.vendor.sensors.enable.mag_filter=true
# WFD
persist.debug.wfd.enable=1
persist.sys.wfd.virtual=0
# ZRAM
ro.zram.mark_idle_delay_mins=60
ro.zram.first_wb_delay_mins=180
ro.zram.periodic_wb_delay_hours=24