linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] cgroup: pids: extend pids.events
@ 2016-06-24  3:00 Aleksa Sarai
  2016-06-24  3:00 ` [PATCH 1/2] cgroup: pids: show number of failed forks since limit reset Aleksa Sarai
  0 siblings, 1 reply; 8+ messages in thread
From: Aleksa Sarai @ 2016-06-24  3:00 UTC (permalink / raw)
  To: Jonathan Corbet, Tejun Heo, Li Zefan, Johannes Weiner, Kenny Yu
  Cc: linux-doc, linux-kernel, cgroups, Aleksa Sarai

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-06-29 15:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24  3:00 [PATCH 0/2] cgroup: pids: extend pids.events Aleksa Sarai
2016-06-24  3:00 ` [PATCH 1/2] cgroup: pids: show number of failed forks since limit reset Aleksa Sarai
2016-06-24  3:00   ` [PATCH 2/2] docs: cgroup/pids: update documentation to include pids.events Aleksa Sarai
2016-06-24 15:31   ` [PATCH 1/2] cgroup: pids: show number of failed forks since limit reset Tejun Heo
2016-06-26 11:34     ` Aleksa Sarai
2016-06-26 23:42       ` Tejun Heo
2016-06-29  5:10         ` Aleksa Sarai
2016-06-29 15:33           ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).