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:
a9ed27e
)
a3xelte: ramdisk: copy the sswap tunables from stock (A310FXXU4CRG2)
author
Danny Wood
<danwood76@gmail.com>
Fri, 14 Dec 2018 08:05:03 +0000
(08:05 +0000)
committer
Jan Altensen
<info@stricted.net>
Mon, 12 Aug 2019 14:28:38 +0000
(16:28 +0200)
Change-Id: I423cdc8018a6e2f0acf72a1df76b4f0a274d195f
ramdisk/etc/init.target.rc
patch
|
blob
|
blame
|
history
diff --git
a/ramdisk/etc/init.target.rc
b/ramdisk/etc/init.target.rc
index 98850e7afa88717431696035f6fbe116061b846e..660b32cdc863608fb71cf2ae21f444e60d0fdb64 100644
(file)
--- a/
ramdisk/etc/init.target.rc
+++ b/
ramdisk/etc/init.target.rc
@@
-17,6
+17,9
@@
on boot
# Set min_free_kbytes to keep larger VM chuncks lying around
write /proc/sys/vm/min_free_kbytes 32768
+ # Tune SSWAP
+ write /proc/sys/vm/swappiness 160
+
on fs
# Permissions for LCD
chown system system /sys/class/lcd/panel/lux