Re: [PATCH-cgroup 2/5] cgroup/cpuset: Clear effective_xcpus on cpus_allowed clearing only if cpus.exclusive not set

2024-08-05 Thread Tejun Heo
On Sun, Aug 04, 2024 at 09:30:16PM -0400, Waiman Long wrote: > Commit e2ffe502ba45 ("cgroup/cpuset: Add cpuset.cpus.exclusive for > v2") adds a user writable cpuset.cpus.exclusive file for setting > exclusive CPUs to be used for the creation of partitions. Since then > effective_xcpus depends on bo

[PATCH-cgroup 2/5] cgroup/cpuset: Clear effective_xcpus on cpus_allowed clearing only if cpus.exclusive not set

2024-08-04 Thread Waiman Long
Commit e2ffe502ba45 ("cgroup/cpuset: Add cpuset.cpus.exclusive for v2") adds a user writable cpuset.cpus.exclusive file for setting exclusive CPUs to be used for the creation of partitions. Since then effective_xcpus depends on both the cpuset.cpus and cpuset.cpus.exclusive setting. If cpuset.cpus.