Skip to content

cgroup/cpuset: Fix CLONE_INTO_CGROUP cpu affinity problem

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

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2182238
MR: !2371 (merged)
Tested: The reproducer at comment #4 of the BZ was used to verify that the cpu affinity is correctly set with the test kernel.

This MR backports a series of upstream cpuset patches to fix the incorrect cpu affinity problem with the relatively new clone(2)'s CLONE_INTO_CGROUP flag as well as fixing other miscellaneous cpuset problems.

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

Edited by Waiman Long

Merge request reports