cm: Enable KSM deferred timer for kernels supporting it
Change-Id: I8e1d6071a3edc09c959f65801b110205f0908ed3
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc
index 5968bd2..3b0e14b 100644
--- a/prebuilt/common/etc/init.local.rc
+++ b/prebuilt/common/etc/init.local.rc
@@ -96,6 +96,7 @@
chmod 0664 /sys/kernel/mm/ksm/run
write /sys/kernel/mm/ksm/sleep_millisecs 500
write /sys/kernel/mm/ksm/pages_to_scan 100
+ write /sys/kernel/mm/ksm/deferred_timer 1
chown system system /dev/cpuctl/apps/cpu.notify_on_migrate
chmod 0644 /dev/cpuctl/apps/cpu.notify_on_migrate