init.local.rc: Tweak KSM values
* Taken from http://source.android.com/devices/low-ram.html#ksm Change-Id: I91de2014d06a24aec4bdefefeff606867de33de1
This commit is contained in:
parent
def634690c
commit
0ccf7efbd3
@ -87,8 +87,8 @@ on boot
|
|||||||
chmod 0664 /sys/kernel/mm/ksm/sleep_millisecs
|
chmod 0664 /sys/kernel/mm/ksm/sleep_millisecs
|
||||||
chown root system /sys/kernel/mm/ksm/run
|
chown root system /sys/kernel/mm/ksm/run
|
||||||
chmod 0664 /sys/kernel/mm/ksm/run
|
chmod 0664 /sys/kernel/mm/ksm/run
|
||||||
write /sys/kernel/mm/ksm/sleep_millisecs 1500
|
write /sys/kernel/mm/ksm/sleep_millisecs 500
|
||||||
write /sys/kernel/mm/ksm/pages_to_scan 256
|
write /sys/kernel/mm/ksm/pages_to_scan 100
|
||||||
|
|
||||||
chown system system /dev/cpuctl/apps/cpu.notify_on_migrate
|
chown system system /dev/cpuctl/apps/cpu.notify_on_migrate
|
||||||
chmod 0644 /dev/cpuctl/apps/cpu.notify_on_migrate
|
chmod 0644 /dev/cpuctl/apps/cpu.notify_on_migrate
|
||||||
|
Loading…
Reference in New Issue
Block a user