]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cgroup/pids: Add pids.events.local
authorMichal Koutný <mkoutny@suse.com>
Tue, 21 May 2024 09:21:28 +0000 (11:21 +0200)
committerTejun Heo <tj@kernel.org>
Sun, 26 May 2024 18:45:10 +0000 (08:45 -1000)
commit3f26a885a06805d456fc8a5f36fc3560ad831bf6
tree32c628116daffa7b2729c4e5eb0c9ae1deaceea6
parent385a635cacfe0d96d3b56633640a1ba65b3fddc3
cgroup/pids: Add pids.events.local

Hierarchical counting of events is not practical for watching when a
particular pids.max is being hit. Therefore introduce .local flavor of
events file (akin to memory controller) that collects only events
relevant to given cgroup.

The file is only added to the default hierarchy.

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/admin-guide/cgroup-v2.rst
kernel/cgroup/pids.c