sm6250-common: Enable zram writeback job scheduler

Bug: 140882488
Change-Id: I9deffcbe25474837d5167024297d06601530aae5
Signed-off-by: Minchan Kim <minchan@google.com>
This commit is contained in:
Minchan Kim 2019-10-14 14:25:22 -07:00 committed by Nick C
parent aad7cdd52e
commit b5823f8387
2 changed files with 8 additions and 0 deletions

View File

@ -661,4 +661,7 @@
<item>1</item> <!-- COLOR_MODE_BOOSTED --> <item>1</item> <!-- COLOR_MODE_BOOSTED -->
<item>2</item> <!-- COLOR_MODE_SATURATED --> <item>2</item> <!-- COLOR_MODE_SATURATED -->
</integer-array> </integer-array>
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
<bool name="config_zramWriteback">true</bool>
</resources> </resources>

View File

@ -233,3 +233,8 @@ persist.vendor.ssr.restart_level=ALL_ENABLE
# WFD # WFD
persist.debug.wfd.enable=1 persist.debug.wfd.enable=1
persist.sys.wfd.virtual=0 persist.sys.wfd.virtual=0
# ZRAM writeback
ro.zram.mark_idle_delay_mins=60
ro.zram.first_wb_delay_mins=180
ro.zram.periodic_wb_delay_hours=24