On 1/12/26 10:08 AM, Michal Koutný wrote:
On Mon, Jan 12, 2026 at 09:51:28AM -0500, Waiman Long llong@redhat.com wrote:
Sorry, I might have missed this comment of yours. The "cpuset.cpus.exclusive" file lists all the CPUs that can be granted to its children as exclusive CPUs. The cgroup root is an implicit partition root where all its CPUs can be granted to its children whether they are online or offline. "cpuset.cpus.effective" OTOH ignores the offline CPUs as well as exclusive CPUs that have been passed down to existing descendant partition roots so it may differ from the implicit "cpuset.cpus.exclusive".
Howewer, there's no "cpuset.cpus" configurable nor visible on the root cgroup. So possibly drop this hunk altogether for simplicity?
Ah, you are right. I thought there was a read-only copy in cgroup root. Will correct that.
Thanks, Longman