commit | 92ca277fb7c7c9d504ad68e415d5397d71388579 | [log] [tgz] |
---|---|---|
author | T.J. Mercier <tjmercier@google.com> | Thu Mar 20 15:10:04 2025 -0700 |
committer | T.J. Mercier <tjmercier@google.com> | Thu Mar 20 15:10:04 2025 -0700 |
tree | 50f4fff4d608b5901911511634bcc74c5ce91d33 | |
parent | 7e74ffd905e36032198a63dbdb7df498280dc339 [diff] |
libprocessgroup: memcg v2 default MaxActivationDepth = 3 Enable per-PID memcgs by default. Vendor overrides to alternate MaxActivationDepths are supported in Android 16. Overrides to memcg v1 are also supported in Android 16. [1] In Android 17 these overrides are not likely to be supported. [1] https://source.android.com/docs/core/perf/cgroups#per-api-level-task-profiles Bug: 386797284 Change-Id: Ia2107ac2244dcd9d05c918fe964529d0f83a13cf
diff --git a/libprocessgroup/profiles/cgroups.json b/libprocessgroup/profiles/cgroups.json index dbf736a..e9345a5 100644 --- a/libprocessgroup/profiles/cgroups.json +++ b/libprocessgroup/profiles/cgroups.json
@@ -36,7 +36,7 @@ "Controller": "memory", "Path": ".", "NeedsActivation": true, - "MaxActivationDepth": 0, + "MaxActivationDepth": 3, "Optional": true } ]