aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2015-09-04 14:01:59 +0200
committerAndreas Blaesius <skate4life@gmx.de>2015-09-06 13:26:48 -0700
commit13aee0a567622238d3627d00efb7c22636fde840 (patch)
treed6e3c453b22762fc66fd271a133709164b60c190 /rootdir
parent2f68669bb94376246bf8ccc89e0c7c981d4af056 (diff)
downloaddevice_samsung_espressowifi-13aee0a567622238d3627d00efb7c22636fde840.zip
device_samsung_espressowifi-13aee0a567622238d3627d00efb7c22636fde840.tar.gz
device_samsung_espressowifi-13aee0a567622238d3627d00efb7c22636fde840.tar.bz2
espresso-common: enable KSM (Kernel Samepage Merging)
Change-Id: Ie5e5a33b228e7404d838998b0dfd90f1503f97e2
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.tab2.rc5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/etc/init.tab2.rc b/rootdir/etc/init.tab2.rc
index d06fc84..5f56920 100644
--- a/rootdir/etc/init.tab2.rc
+++ b/rootdir/etc/init.tab2.rc
@@ -24,6 +24,11 @@ on init
symlink /storage/usbdisk0 /usbdisk0
symlink /storage/usbdisk0 /mnt/usbdisk0
+# 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
+
# Vibetonz
export VIBE_PIPE_PATH /dev/pipes
mkdir /dev/pipes 0771 shell shell