Re: [PATCH v4 1/6] cgroup/cpuset: Enable event notification when partition state changes
From: Tejun Heo
Date: Wed Aug 11 2021 - 14:04:36 EST
On Tue, Aug 10, 2021 at 11:06:02PM -0400, Waiman Long wrote:
> A valid cpuset partition can become invalid if all its CPUs are offlined
> or somehow removed. This can happen through external events without
> "cpuset.cpus.partition" being touched at all.
>
> Users that rely on the property of a partition being present do not
> currently have a simple way to get such an event notified other than
> constant periodic polling which is both inefficient and cumbersome.
>
> To make life easier for those users, event notification is now enabled
> for "cpuset.cpus.partition" whenever its state changes.
>
> Suggested-by: Tejun Heo <tj@xxxxxxxxxx>
> Signed-off-by: Waiman Long <longman@xxxxxxxxxx>
Applied to cgroup/for-5.15.
Thanks.
--
tejun