sdm710-common: Enable zram writeback job scheduler

Bug: 140882488
Change-Id: I5489a7ce7a8d73306a6ecf69f57d338b2b0eaad2
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
This commit is contained in:
Minchan Kim 2019-10-14 14:22:58 -07:00 committed by Giammarco Senatore
parent ca14a6656d
commit 40863d5577
No known key found for this signature in database
GPG key ID: 661348FC1E144F04
2 changed files with 8 additions and 0 deletions

View file

@ -437,4 +437,7 @@
<string name="db_default_journal_mode">MEMORY</string>
<string name="db_default_sync_mode">OFF</string>
<string name="db_wal_sync_mode">OFF</string>
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
<bool name="config_zramWriteback">true</bool>
</resources>

View file

@ -40,5 +40,10 @@ debug.sf.latch_unsignaled=1
debug.sf.enable_hwc_vds=1
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
# Zram
ro.zram.mark_idle_delay_mins=60
ro.zram.first_wb_delay_mins=1440
ro.zram.periodic_wb_delay_hours=24
# Zygote
persist.device_config.runtime_native.usap_pool_enabled=true