Sched: Fix fork versus cgroup race
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2062836
Upstream Status: Linux
Tested: With scheduler and cgroup stress tests.
This is a couple of patches needed to fix 4ef0c5c6b5ba ("kernel/sched:
Fix sched_fork() access an invalid sched_task_group") which is in
rhel9 as eec2be9b.
Signed-off-by: Phil Auld pauld@redhat.com
Edited by Phil Auld