summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2014-11-29 14:52:39 +0100
committerZiyan <jaraidaniel@gmail.com>2014-12-13 00:39:24 +0100
commit407adab0975c9e6082c81d5af7a7d86460f83efb (patch)
tree2b32e8a8862aada952346df66c8052f01aa7a7cb /rootdir
parentca2bb8fc30fc6e4b5765d4da01e8c3cafc3b0095 (diff)
downloaddevice_samsung_tuna-407adab0975c9e6082c81d5af7a7d86460f83efb.zip
device_samsung_tuna-407adab0975c9e6082c81d5af7a7d86460f83efb.tar.gz
device_samsung_tuna-407adab0975c9e6082c81d5af7a7d86460f83efb.tar.bz2
tuna: enable KSM
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/init.tuna.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/init.tuna.rc b/rootdir/init.tuna.rc
index a2cb446..64e04fa 100755
--- a/rootdir/init.tuna.rc
+++ b/rootdir/init.tuna.rc
@@ -20,6 +20,11 @@ on init
mkdir /mnt/media_rw/usbdisk 0775 system system
mkdir /storage/usbdisk 0000 system system
+ # KSM
+ write /sys/kernel/mm/ksm/pages_to_scan 100
+ write /sys/kernel/mm/ksm/sleep_millisecs 500
+ write /sys/kernel/mm/ksm/run 1
+
on post-fs-data
mkdir /data/media 0770 media_rw media_rw