On 10/13/21 5:45 PM, Waiman Long wrote:
In conclusion, it'd be good to have validity conditions separate from transition conditions (since hotplug transition can't be rejected) and perhaps treat administrative changes from an ancestor equally as a hotplug.
I am trying to make the result of changing "cpuset.cpus" as close to hotplug as possible but there are cases where the "cpuset.cpus" change is prohibited but hotplug can still happen to remove the cpu.
Hope this will help to clarify the current design.
BTW, the attached file is the current draft of cpuset.cpus.partition document.
Cheers, Longman