From ecd0b35267673689da0bc188ffa788cb6a13d57c Mon Sep 17 00:00:00 2001 From: Randall Huang Date: Thu, 22 Sep 2022 20:06:12 +0100 Subject: [PATCH] rosemary: 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 Signed-off-by: Randall Huang Change-Id: I6857c79ca3ce6a3619f4b7e200d7f17a8decd659 --- overlay/frameworks/base/core/res/res/values/config.xml | 3 +++ system.prop | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 4159622..7b031b6 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -435,6 +435,9 @@ 0:2:15 + + true +