summaryrefslogtreecommitdiffstats
path: root/overlay/frameworks
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2015-09-03 22:19:05 +0200
committerZiyan <jaraidaniel@gmail.com>2015-09-03 22:21:29 +0200
commit8df9a76ae978ffde157629c74360b6710ad2cf6d (patch)
tree32966e1a9a0afc4d13de03d144ae50e52a893378 /overlay/frameworks
parent142d90baa8bd2d9fc6d8bc7f382f51629bcc4575 (diff)
downloaddevice_samsung_tuna-8df9a76ae978ffde157629c74360b6710ad2cf6d.zip
device_samsung_tuna-8df9a76ae978ffde157629c74360b6710ad2cf6d.tar.gz
device_samsung_tuna-8df9a76ae978ffde157629c74360b6710ad2cf6d.tar.bz2
tuna: add minfree overlay
Change-Id: Icd9542b065317a34a98dc5f4160c2149b6a1b31d
Diffstat (limited to 'overlay/frameworks')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml9
1 files changed, 9 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 926b53d..ef7d2f8 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -295,4 +295,13 @@
config to 7. -->
<integer name="config_deviceHardwareWakeKeys">64</integer>
+ <!-- Device configuration setting the minfree tunable in the lowmemorykiller in the
+ kernel. A high value will cause the lowmemorykiller to fire earlier, keeping more
+ memory in the file cache and preventing I/O thrashing, but allowing fewer processes
+ to stay in memory. A low value will keep more processes in memory but may cause
+ thrashing if set too low. Overrides the default value chosen by ActivityManager based
+ on screen size and total memory for the largest lowmemorykiller bucket, and scaled
+ proportionally to the smaller buckets. -1 keeps the default. -->
+ <integer name="config_lowMemoryKillerMinFreeKbytesAbsolute">122880</integer>
+
</resources>