diff options
| author | Ethan Chen <intervigil@gmail.com> | 2015-01-08 22:45:54 -0800 |
|---|---|---|
| committer | Ethan Chen <intervigil@gmail.com> | 2015-01-08 22:46:05 -0800 |
| commit | fb59b93c794b9438b28976be27e4ae1bf276391a (patch) | |
| tree | 6e814d091c004fa0d2d83aa261b379190cb7154a | |
| parent | c719ae83192eacd3d81a30020795e77b28c136a5 (diff) | |
ghost: Configure and enable KSM
Change-Id: I63d7a69367e0023ed354445e28efd56cc9b9ea8a
| -rw-r--r-- | rootdir/etc/init.qcom.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 2fc7633..08c0363 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -36,6 +36,10 @@ on early-init write /sys/block/mmcblk0/queue/scheduler noop write /sys/block/mmcblk0/bdi/read_ahead_kb 512 + # KSM + write /sys/kernel/mm/ksm/sleep_millisecs 500 + write /sys/kernel/mm/ksm/run 1 + # Create firmware mount point mkdir /firmware 0771 system system |
