platform_system_core/libprocessgroup
Victor Hsieh b40fb113e7 Make VMCompilationPerformance an aggregated profile with default
The VMCompilationPerformance profile is used to run Isolated Compilation
in a Protected VM, normally during the device idle, where relevant
APEXes are staged.

The original VMCompilationPerformance introduced in aosp/2060891 does
not have any specific definition and requires vendors to customize it.
This change re-defines it as an aggregated profile with a default set of
existing profiles, so that performance can be reasonable by default.

This profile may be renamed to a more generic name later, e.g.
"SCHED_SP_COMPUTE".

Bug: 231437770
Test: Run `composd_cmd test-compile` on a local device.
      Before: 1m50s +/- 10s (with whatever that's default)
      After: 1m25s +/- 5s
Ignore-AOSP-First: cherry pick from aosp/2097065
Change-Id: Ib8cd65782c818474fb129efbd9ef9a3e23ad1eb3
Merged-In: Ib8cd65782c818474fb129efbd9ef9a3e23ad1eb3
2022-05-16 17:53:01 -07:00
..
cgrouprc Fix compiling libprocessgroup against musl 2021-09-14 12:35:01 -07:00
cgrouprc_format [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
include/processgroup libprocessgroup: Add a function to remove only empty process groups 2022-05-04 00:44:39 +00:00
profiles Make VMCompilationPerformance an aggregated profile with default 2022-05-16 17:53:01 -07:00
setup Canonicalize cgroup paths 2022-03-25 16:11:45 -07:00
tools libprocessgroup/tools: Add settaskprofile command-line tool 2021-11-09 22:35:51 +00:00
Android.bp Add support for optional cgroup attributes 2022-03-16 19:55:46 +00:00
cgroup_map.cpp Micro-optimize CgroupMap::ActivateControllers() 2022-02-15 00:09:34 +00:00
cgroup_map.h libprocessgroup: Add CgroupGetControllerFromPath API function 2021-11-08 21:24:33 +00:00
OWNERS Add new owners to various sub-projects. 2020-12-11 12:45:45 -08:00
processgroup.cpp libprocessgroup: Add a function to remove only empty process groups 2022-05-04 00:44:39 +00:00
sched_policy.cpp libprocessgroup: fall back to cpuset in get_sched_policy 2021-12-14 10:56:34 -08:00
task_profiles.cpp Reland "libprocessgroup: return false on failure" 2022-04-13 18:50:12 +00:00
task_profiles.h Add support for memcg v2 attributes 2022-03-17 14:18:14 -07:00
task_profiles_test.cpp Add support for optional cgroup attributes 2022-03-16 19:55:46 +00:00