summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorRobin Hsu <robinhsu@google.com>2022-02-15 16:38:40 +0800
committerTreeHugger Robot <treehugger-gerrit@google.com>2022-02-16 14:49:28 +0000
commit200d13758a3c0e64a545755894cdf3ac4cd56dc3 (patch)
treed43bacba0575276999078380401276f9a189b623 /overlay
parent2b064d7831bc0926f9fed4157483243225f0bbc8 (diff)
downloadgs201-200d13758a3c0e64a545755894cdf3ac4cd56dc3.tar.gz
config.xml: enable zram writeback
Bug: 207572250 Test: cmd jobscheduler run -f android 812 Signed-off-by: Robin Hsu <robinhsu@google.com> Change-Id: If956c912325d820ad37c160d2d1d80d3e646a76c
Diffstat (limited to 'overlay')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml3
1 files changed, 3 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 2aeeb23..7ab9468 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -278,6 +278,9 @@
available on some devices. -->
<bool name="config_enableHapticTextHandle">true</bool>
+ <!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
+ <bool name="config_zramWriteback">true</bool>
+
<!-- Configure tcp buffer sizes in the form:
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
If this is configured as an empty string, the system default will be applied.