From: Danny Wood Date: Fri, 14 Dec 2018 08:05:03 +0000 (+0000) Subject: a3xelte: ramdisk: copy the sswap tunables from stock (A310FXXU4CRG2) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bbc0a663ff86c17def8bcd53ac3cd28f2b48d5df;p=GitHub%2FLineageOS%2Fandroid_device_samsung_a3xelte.git a3xelte: ramdisk: copy the sswap tunables from stock (A310FXXU4CRG2) Change-Id: I423cdc8018a6e2f0acf72a1df76b4f0a274d195f --- diff --git a/ramdisk/etc/init.target.rc b/ramdisk/etc/init.target.rc index 98850e7..660b32c 100644 --- 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