[PATCH 0/2] cgroup: pids: extend pids.events

From: Aleksa Sarai
Date: Thu Jun 23 2016 - 22:56:20 EST


While reading the patchset by Kenny Yu, I realised that not having a
field for the "recent" number of failed forks means that userspace would
have trouble accurately deciding whether or not it should increase the
limits.

In addition, by having hits_since, we get to maintain the
on-reset-we-log-failures-again semantics that Tejun said he liked.

Aleksa Sarai (2):
cgroup: pids: show number of failed forks since limit reset
docs: cgroup/pids: update documentation to include pids.events

Documentation/cgroup-v1/pids.txt | 18 ++++++++++++++++++
kernel/cgroup_pids.c | 31 ++++++++++++++++++++++---------
2 files changed, 40 insertions(+), 9 deletions(-)

--
2.8.4