linux/Documentation/admin-guide/cgroup-v1
Michal Koutný 73e75e6fc3 cgroup/pids: Separate semantics of pids.events related to pids.max
Currently, when pids.max limit is breached in the hierarchy, the event
is counted and reported in the cgroup where the forking task resides.

This decouples the limit and the notification caused by the limit making
it hard to detect when the actual limit was effected.

Redefine the pids.events:max as: the number of times the limit of the
cgroup was hit.

(Implementation differentiates also "forkfail" event but this is
currently not exposed as it would better fit into pids.stat. It also
differs from pids.events:max only when pids.max is configured on
non-leaf cgroups.)

Since it changes semantics of the original "max" event, introduce this
change only in the v2 API of the controller and add a cgroup2 mount
option to revert to the legacy behavior.

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2024-05-26 08:45:09 -10:00
..
blkio-controller.rst Documentation: admin-guide: correct spelling 2023-02-02 11:04:42 -07:00
cgroups.rst docs: cgroup-v1: Fix description for css_online 2024-04-08 08:01:36 -10:00
cpuacct.rst
cpusets.rst docs: cgroup-v1: Clarify that domain levels are system-specific 2024-05-17 09:48:25 +02:00
devices.rst
freezer-subsystem.rst
hugetlb.rst docs: cgroup-v1: add missing code-block tags 2024-01-23 10:49:24 -10:00
index.rst cgroup: Miscellaneous cgroup documentation. 2021-04-04 13:34:46 -04:00
memcg_test.rst docs: cgroup-v1: Update page cache removal functions 2024-05-13 07:00:43 -10:00
memory.rst Documentation/admin-guide/cgroup-v1/memory.rst: don't reference page_mapcount() 2024-05-05 17:53:31 -07:00
misc.rst cgroup: Miscellaneous cgroup documentation. 2021-04-04 13:34:46 -04:00
net_cls.rst
net_prio.rst
pids.rst cgroup/pids: Separate semantics of pids.events related to pids.max 2024-05-26 08:45:09 -10:00
rdma.rst Documentation/admin-guide: cgroup-v1/rdma: drop doubled word 2020-07-05 14:01:48 -06:00