From d299288eafa104d1f8bad8cab9ed803cc9e0d954 Mon Sep 17 00:00:00 2001 From: Martin Liu Date: Mon, 7 Sep 2020 11:08:49 +0800 Subject: [PATCH] sm6150-common: mm: Adjust zram write back policy The first default zram write back time is 3 hours which is for go device to quickly save more ram. For Pixel devices, we have more working set and could bring launch time impact if we write back too fast. Thus, adjust the first time write back time to 24 hours which is aligned with periodic write back time. Bug: 166739872 Test: boot Signed-off-by: Martin Liu Change-Id: I2388dd6d75ab0a938fe0edae0563fd26e48c9908 --- sm6150.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm6150.mk b/sm6150.mk index 37326a9..a0e7204 100644 --- a/sm6150.mk +++ b/sm6150.mk @@ -384,5 +384,5 @@ PRODUCT_BOOT_JARS += \ # ZRAM writeback PRODUCT_PROPERTY_OVERRIDES += \ ro.zram.mark_idle_delay_mins=60 \ - ro.zram.first_wb_delay_mins=180 \ + ro.zram.first_wb_delay_mins=1440 \ ro.zram.periodic_wb_delay_hours=24