Skip to content

RFC cgroup notifications API and memory thresholds

Kirill A. Shutemov containers linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v0 RFC Latest3 patches 8 repliesIn review

Patches in v0 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cgroup: implement eventfd-based generic API for notifications+0 -04 replies
2/3res_counter: implement thresholds+0 -00 replies
3/3memcg: implement memory thresholds+0 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v0 yet.

Read the v0 thread

Cover letter [PATCH RFC v0 0/3] cgroup notifications API and memory thresholds

It's my first attempt to implement cgroup notifications API and memory thresholds on top of it. The idea of API was proposed by Paul Menage.

It lacks some important features and need more testing, but I want publish it as soon as possible to get feedback from community.

TODO:
- memory thresholds on root cgroup;
- memsw support;
- documentation.

Kirill A. Shutemov (3):
cgroup: implement eventfd-based generic API for notifications
res_counter: implement thresholds
memcg: implement memory thresholds

 include/linux/cgroup.h      |    8 ++
 include/linux/res_counter.h |   44 +++++++++++
 kernel/cgroup.c             |  181 ++++++++++++++++++++++++++++++++++++++++++-
 kernel/res_counter.c        |    4 +
 mm/memcontrol.c             |  149 +++++++++++++++++++++++++++++++++++
 5 files changed, 385 insertions(+), 1 deletions(-)