path: root/rootdir/init.rc
diff options
authorIrina Patru <>2016-05-12 14:41:57 +0300
committerTim Kryger <>2016-07-11 12:35:51 -0700
commit23ad7517d21c9751f571232c91f9e74822a5f60e (patch)
tree2bdc195e2af7fc000b088664da365a2eaaa17812 /rootdir/init.rc
parent786f5def5be15c02fed2acad8590373bb4400a21 (diff)
init.rc: Remove cpu weight set on the root cgroup
It isn't allowed to change the cpu.share value for the root cgroup. See kernel commit: This fixes the following error seen in dmesg: init: write_file: Unable to write to '/dev/cpuctl/cpu.shares': Invalid argument BUG: 28735908 Change-Id: I5ef359fb275792f99d13d35c62499026d354f6af Signed-off-by: Irina Patru <> (cherry picked from commit c560c6310fdb6f8d4a44b05c0d15cad7ac6f4bb1)
Diffstat (limited to 'rootdir/init.rc')
1 files changed, 0 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index da3b98b87..0e81bb260 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -135,7 +135,6 @@ on init
chown system system /dev/cpuctl
chown system system /dev/cpuctl/tasks
chmod 0666 /dev/cpuctl/tasks
- write /dev/cpuctl/cpu.shares 1024
write /dev/cpuctl/cpu.rt_period_us 1000000
write /dev/cpuctl/cpu.rt_runtime_us 950000