diff options
| author | 2026-08-04 10:25:17 +0200 | |
|---|---|---|
| committer | 2026-08-05 10:34:42 +0200 | |
| commit | 34f3e259925382cd87187dd426d3918379c6144e (patch) | |
| tree | a0dbd3deda4bfba08b8096a41053dcc596278644 /scripts/Makefile.thinlto | |
| parent | cgroup/dmem: Add queries for protection values (diff) | |
cgroup,cgroup/dmem: Add (dmem_)cgroup_common_ancestor helper
This helps to find a common subtree of two resources, which is important
when determining whether it's helpful to evict one resource in favor of
another.
To facilitate this, add a common helper to find the ancestor of two
cgroups using each cgroup's ancestor array.
Tested-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Reviewed-by: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Natalie Vock <natalie.vock@gmx.de>
Link: https://patch.msgid.link/20260804-dmemcg-aggressive-protect-v8-2-07af96681bf8@gmx.de
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
