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

From: Waiman Long
Date: Fri Jul 16 2021 - 17:29:05 EST


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