diff options
author | Minchan Kim <minchan@google.com> | 2019-09-17 16:58:05 -0700 |
---|---|---|
committer | Minchan Kim <minchan@google.com> | 2019-09-18 10:48:14 -0700 |
commit | 4988b99ab41031e1717956ad8859c7178241ed3e (patch) | |
tree | c84695e4e0caa1ee38d01d6e83bdee3c1655fbaa /overlay | |
parent | 6e1cb3e667e77b93e53c0fb1bd8fbf4124c25845 (diff) | |
download | bonito-4988b99ab41031e1717956ad8859c7178241ed3e.tar.gz |
Revert "Revert "bonito: enable zram-writeback job""
Let's enable zram-writeback.
This reverts commit 6b6ea12ca5069b8e6a24f95f6674c7445add3321.
Bug: 140882488
Test: Tweak mark_idle_delay_mins, first_wb_delay_mins as 5m, 7m and
modify ZramWriteback jobscheduler works regardless of idleness.
And then cat /sys/block/zram0/bd_stat shows read/write from
backing storage.
Change-Id: I93ce55125046beadfc8b37a8c28e1d9135f418c7
Signed-off-by: Minchan Kim <minchan@google.com>
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index bef2559c..1708b4a7 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -410,4 +410,6 @@ <!-- True if the firmware supports connected MAC randomization --> <bool name="config_wifi_connected_mac_randomization_supported">true</bool> + <!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. --> + <bool name="config_zramWriteback">true</bool> </resources> |