platform_system_core/libprocessgroup
Marco Ballesio f16f9417b0 libprocessgroup: support for cgroup v2 hierarchy
for a first implementation the cgroup v2 freezer controller will be used in a
way similar to cgroup v1, that is a single child group will hold all frozen
processes. Some adjustments are needed for the new structure.

- Add support for cgroup v2 syntax under procfs.
- Separate creation of a directory with ownership/mode changes to allow changes
    after mounting the cgroup kernfs root.
- Allow the creation of sub-groups under a cgroup v2 hierarchy.

Bug: 154548692
Test: manually verified that a proper cgroup v2 hierarchy is created and
accessible

Change-Id: I9af59e8214acaead3f520a94c95e75394c0df948
2020-06-10 09:14:00 -07:00
..
cgrouprc libprocessgroup: support for cgroup v2 hierarchy 2020-06-10 09:14:00 -07:00
cgrouprc_format libprocessgroup: add flags to indicate when a controller failed to mount 2019-05-21 10:03:21 -07:00
include/processgroup libprocessgroup: Prevent SetProcessProfiles from using cached fd 2020-02-14 01:42:11 +00:00
profiles vts_processgroup_validate_test: make deps static 2020-05-07 12:41:45 -07:00
setup libprocessgroup: support for cgroup v2 hierarchy 2020-06-10 09:14:00 -07:00
Android.bp processgroup: Set min_sdk_version 2020-04-23 23:53:19 +09:00
cgroup_map.cpp libprocessgroup: support for cgroup v2 hierarchy 2020-06-10 09:14:00 -07:00
cgroup_map.h Fix IsUsable to check for each controller separately 2019-06-26 11:35:11 -07:00
OWNERS Add surenb@ to libprocessgroup OWNERS 2019-09-17 08:50:04 -07:00
processgroup.cpp libprocessgroup: Prevent SetProcessProfiles from using cached fd 2020-02-14 01:42:11 +00:00
sched_policy.cpp libprocessgroup: ensure schedboost_enabled is true with uclamp 2020-01-27 11:04:03 +00:00
task_profiles.cpp libprocessgroup: Prevent SetProcessProfiles from using cached fd 2020-02-14 01:42:11 +00:00
task_profiles.h libprocessgroup: Prevent SetProcessProfiles from using cached fd 2020-02-14 01:42:11 +00:00