summaryrefslogtreecommitdiff
path: root/init.bullhead.rc
diff options
context:
space:
mode:
authorVeena Sambasivan <veenas@codeaurora.org>2015-09-10 17:02:19 -0700
committerThierry Strudel <tstrudel@google.com>2015-09-14 16:43:51 -0700
commit17fa00fd558e86ad5082f27b4ed1456be50e4036 (patch)
tree6160e95715f797f78a192c2f59afd22e48498685 /init.bullhead.rc
parentf5d9fbd4b8e2a204dd233a1347dca20a1ad10153 (diff)
downloadbullhead-17fa00fd558e86ad5082f27b4ed1456be50e4036.tar.gz
bullhead: read only 1 page at a time from swap
Change-Id: I00649abe7f0168d98a0336b4b4879259b0ebad6f Signed-off-by: Veena Sambasivan <veenas@codeaurora.org>
Diffstat (limited to 'init.bullhead.rc')
-rw-r--r--init.bullhead.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.bullhead.rc b/init.bullhead.rc
index b9f44aa..e5b39e5 100644
--- a/init.bullhead.rc
+++ b/init.bullhead.rc
@@ -69,6 +69,8 @@ on init
write /sys/block/zram0/comp_algorithm lz4
write /sys/block/zram0/max_comp_streams 4
+ write /proc/sys/vm/page-cluster 0
+
on fs
mount_all ./fstab.bullhead
swapon_all ./fstab.bullhead