798e805715
SetupCgroups is called by init process during early-init stage and is not supposed to be called again by anyone else. Ensure that the caller is the init process, make sure cgroup.rc file is written only one time, keep the file descriptor to cgroup.rc file open by the init process to ensure all its further mappings stay valid even if the file is deleted. Bug: 124774415 Test: build, run, verify no errors or warning in the logcat Change-Id: I70ccec551fc07c380333566f618b969667dcf783 Signed-off-by: Suren Baghdasaryan <surenb@google.com> |
||
---|---|---|
.. | ||
include/processgroup | ||
profiles | ||
Android.bp | ||
cgroup_map.cpp | ||
cgroup_map.h | ||
OWNERS | ||
processgroup.cpp | ||
sched_policy.cpp | ||
task_profiles.cpp | ||
task_profiles.h |