From 835a05445a3f8c875ee253f29162b430bac2da38 Mon Sep 17 00:00:00 2001 From: Randall Huang Date: Fri, 15 Mar 2019 17:23:50 +0800 Subject: [PATCH] sm6250-common: 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 Signed-off-by: Albert I Change-Id: I6b8f537faf2ffff1a93170aad763f2be4dcaba42 --- overlay/frameworks/base/core/res/res/values/config.xml | 3 +++ vendor.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 8e88534..1eb8f2d 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -289,6 +289,9 @@ in hardware. --> true + + true +