projects
/
GitHub
/
LineageOS
/
android_device_samsung_a3xelte.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5efbb4d
)
a3xelte: ramdisk: set '/proc/sys/vm/min_free_kbytes' on boot to keep more large VM...
author
Danny Wood
<danwood76@gmail.com>
Fri, 14 Dec 2018 08:03:38 +0000
(08:03 +0000)
committer
Jan Altensen
<info@stricted.net>
Mon, 12 Aug 2019 14:28:37 +0000
(16:28 +0200)
Change-Id: Ibbe6976e3dee46565aff203d4a2fe23c68e19441
ramdisk/etc/init.target.rc
patch
|
blob
|
blame
|
history
diff --git
a/ramdisk/etc/init.target.rc
b/ramdisk/etc/init.target.rc
index 322871b570080bd4e58fb8d4da5feab0ccf8fadd..98850e7afa88717431696035f6fbe116061b846e 100644
(file)
--- a/
ramdisk/etc/init.target.rc
+++ b/
ramdisk/etc/init.target.rc
@@
-14,6
+14,9
@@
on boot
write /proc/sys/net/core/rmem_max 2097152
write /proc/sys/net/core/wmem_max 2097152
+ # Set min_free_kbytes to keep larger VM chuncks lying around
+ write /proc/sys/vm/min_free_kbytes 32768
+
on fs
# Permissions for LCD
chown system system /sys/class/lcd/panel/lux