Re: [PATCH v2 2/6] cgroup/cpuset: Clarify the use of invalid partition root
From: Waiman Long <hidden>
Date: 2021-07-16 21:29:05
Also in:
cgroups, linux-kselftest, lkml
From: Waiman Long <hidden>
Date: 2021-07-16 21:29:05
Also in:
cgroups, linux-kselftest, lkml
On 7/16/21 5:18 PM, Tejun Heo wrote:
Hello, On Fri, Jul 16, 2021 at 05:12:17PM -0400, Waiman Long wrote:quoted
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