|| ||Pavel Emelianov <email@example.com>|
|| ||Andrew Morton <firstname.lastname@example.org>, Paul Menage <email@example.com>,
Srivatsa Vaddagiri <firstname.lastname@example.org>,
Balbir Singh <email@example.com>|
|| ||[PATCH 0/8] RSS controller based on process containers (v2)|
|| ||Mon, 09 Apr 2007 16:22:40 +0400|
Linux Kernel Mailing List <firstname.lastname@example.org>,
Kirill Korotaev <email@example.com>,
Chandra Seetharaman <firstname.lastname@example.org>,
Cedric Le Goater <email@example.com>,
"Eric W. Biederman" <firstname.lastname@example.org>,
Rohit Seth <email@example.com>,
Linux Containers <firstname.lastname@example.org>|
Adds RSS accounting and control within a container.
Major change: current scanner code reuse.
Tasks and files accounting is not included as these containers
are simple enough to be implemented later.
Based on top of Paul Menage's container subsystem v8.
Note, that only first three patches from Paul's patchset should
be used as BeanCounters, CPU accounting etc are not needed for
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.
Changes from previous version:
* reclamation code reuse. I.e. the scanner code used to reclaim
pages on global memory shortage is used as-is in per-container
* active/inactive per-container lists (a bit reworked patch
* more elegant top container creation (thanks Paul for clarifying).