Files
linux/kernel
Natalie Vock 34f3e25992 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 <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Signed-off-by: Natalie Vock <[email protected]>
Link: https://patch.msgid.link/[email protected]
2026-08-05 10:34:42 +02:00
..
2026-06-02 15:36:06 +02:00
…
…
…
…
…
…
…
…
…
…
…
2025-10-29 10:29:54 +01:00
2026-01-26 19:07:13 -08:00
…
…
…