Skip to content

cgroup: Backport upstream cgroup commits up to v6.5

Waiman Long requested to merge llong1/centos-stream-9:rhel16027_cgroup into main

JIRA: https://issues.redhat.com/browse/RHEL-16027
MR: !3346 (merged)

This MR backports upstream RCU commits up to v6.5 with related fixes, if applicable. It also pulls a number of relevant kernfs commits because of the dependency of some of the cgroup commits.

In particular, it also backports 6a010a49b63a ("cgroup: Make !percpu threadgroup_rwsem operations optional"). This commit may slow down workloads that perform frequent cgroup configuration changes like OCP. As a result, commit 9b81d3a5be05 ("cgroup: add cgroup_favordynmods= command-line option") from v6.7 is also backported to provide a way out by favoring dynmaic cgroup modification using the "cgroup_favordynmods=y" boot command line option.

Signed-off-by: Waiman Long longman@redhat.com

Edited by Waiman Long

Merge request reports