Thread (20 messages) 20 messages, 3 authors, 2021-08-13

Re: [PATCH v4 1/6] cgroup/cpuset: Enable event notification when partition state changes

From: Tejun Heo <tj@kernel.org>
Date: 2021-08-11 18:04:36
Also in: cgroups, linux-kselftest, lkml

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@kernel.org>
Signed-off-by: Waiman Long <longman@redhat.com>
Applied to cgroup/for-5.15.

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help