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: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ec7dc8ac73e4a56ed03b673f026f08c0d547f597 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 <irina.patru@intel.com>
This commit is contained in:
parent
8c5384e50b
commit
c560c6310f
|
@ -140,7 +140,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_runtime_us 800000
|
||||
write /dev/cpuctl/cpu.rt_period_us 1000000
|
||||
|
||||
|
|
Loading…
Reference in New Issue