cm: Remove KSM permissions
CM12 doesn't have a KSM setting in performance settings anymore. KSM should be configured and enabled on device basis. Change-Id: I98a0cbe1b01a659eb28bcd459be55d78a88bda86
This commit is contained in:
parent
4bcfc3137a
commit
444ce4a6b1
@ -92,17 +92,6 @@ on boot
|
||||
chown system system /sys/block/mmcblk0/queue/scheduler
|
||||
chmod 0664 /sys/block/mmcblk0/queue/scheduler
|
||||
|
||||
# allow system to modify ksm control files
|
||||
chown root system /sys/kernel/mm/ksm/pages_to_scan
|
||||
chmod 0664 /sys/kernel/mm/ksm/pages_to_scan
|
||||
chown root system /sys/kernel/mm/ksm/sleep_millisecs
|
||||
chmod 0664 /sys/kernel/mm/ksm/sleep_millisecs
|
||||
chown root system /sys/kernel/mm/ksm/run
|
||||
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 0664 /dev/cpuctl/apps/cpu.notify_on_migrate
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#############################
|
||||
# performance-related sysfs files (CM)
|
||||
/sys/kernel/mm/ksm(/.*)? -- u:object_r:sysfs_writable:s0
|
||||
/sys/devices/system/cpu.*/cpufreq(/.*)? -- u:object_r:sysfs_devices_system_cpu:s0
|
||||
/sys/block/mmcblk0/queue/scheduler -- u:object_r:sysfs_writable:s0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user