init.qcom.post_boot: enabling differable timer for ksm

power savings are observed for less load use cases by
making ksm timer deferrable.

Change-Id: I734cd89035f9b7ab25ba131c601505910c496d27
This commit is contained in:
Sravan Kumar Ambapuram 2014-03-19 10:12:10 +05:30
parent 9e480ba630
commit fb0261da61
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ case "$target" in
echo 300000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq
echo 80 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load
echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1 > /sys/kernel/mm/ksm/deferred_timer
chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chown -h root.system /sys/devices/system/cpu/cpu1/online