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>
(cherry picked from commit c560c6310f
)
This commit is contained in:
parent
786f5def5b
commit
23ad7517d2
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue