OSDN Git Service

init.rc: remove bg_non_interactive cgroup [ DO NOT MERGE ]
authorWei Wang <wvw@google.com>
Mon, 20 Mar 2017 21:21:06 +0000 (14:21 -0700)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Thu, 18 May 2017 00:53:08 +0000 (00:53 +0000)
commitf388babd5f30b191c03e926ce1f5af6433aced3f
treea1bcb3bcb6850c0ea9cc4a29ada23b55acdd55e9
parent783a787da9350b33e95fdd321bacd187e87c7be6
init.rc: remove bg_non_interactive cgroup [ DO NOT MERGE ]

We have seen cases when threads in this cgroup not scheduled for more than
a few seconds in heavy workload situation and causing device freeze.
In Linux, multiple threads placed in ROOT cgroup cause the CPU resource to
be split per thread, rather than per group.
Currently we have many threads in ROOT cgroup, which makes threads in
bg_non_interactive cgroup to have "tiny" CPU resource other than 5%
quota defined.

Bug: 34193533
Test: on marlin
Change-Id: I7721f6196560fbedf6265e8b6db130cec9edefd7
(cherry picked from commit 0638626e0e6c38835d36fa17326aee08235e261a)
rootdir/init.rc