Skip to content

RSS controller based on process containers (v3)

Pavel Emelianov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Resource countersinclude/linux/res_counter.h init/Kconfig kernel/Makefile +1 more+161 -01 reply
2/8Add container pointer on struct pageinclude/linux/mm.h include/linux/mm_types.h+9 -01 reply
3/8Add container pointer on mm_structinclude/linux/sched.h kernel/fork.c+13 -31 reply
4/8RSS container coreinclude/linux/container_subsys.h include/linux/rss_container.h init/Kconfig +2 more+351 -02 replies
5/8RSS accounting hooks over the codefs/exec.c include/linux/rmap.h mm/memory.c +4 more+116 -282 replies
6/8Per container OOM killerinclude/linux/rss_container.h mm/oom_kill.c+39 -40 replies
7/8Scanner changes needed to implement per-container scannerinclude/linux/swap.h mm/vmscan.c+70 -274 replies
8/8Per-container pages reclamationinclude/linux/rss_container.h mm/rss_container.c mm/swap.c +1 more+111 -011 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] RSS controller based on process containers (v3)

Adds RSS accounting and control within a container.

Ported above Paul's containers V10 with fixes received from Balbir.

RSS container includes the per-container RSS accounting and reclamation, and out-of-memory killer. The container behaves like a standalone machine - when it runs out of resources, it tries to reclaim some pages, and if it doesn't succeed, kills some task which mm_struct belongs to the container in question.