Re: [PATCH v2 2/6] cgroup/cpuset: Clarify the use of invalid partition root

Waiman Long
2021-07-16T21:28:58Z

On 7/16/21 5:18 PM, Tejun Heo wrote:
> Hello,
>
> On Fri, Jul 16, 2021 at 05:12:17PM -0400, Waiman Long wrote:
>> Are you suggesting that we add a cpuset.cpus.events file that allows
>> processes to be notified if an event (e.g. hotplug) that changes a partition
>> root to invalid partition happens or when explicit change to a partition
>> root fails? Will that be enough to satisfy your requirement?
> Yeah, something like that or make the current state file generate events on
> state transitions.

Sure. I will change the patch to make cpuset.cpus.partition generates
event when its state change. Thanks for the suggestion. It definitely
makes it better.

Cheers,
Longman