Skip to content

Mempressure cgroup

Anton Vorontsov cgroups linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 30 repliesIn review

RFC v2 (http://lkml.org/lkml/2012/12/10/128) from the cover letter

- Added documentation, describes APIs and the purpose;
- Implemented shrinker interface, this is based on Andrew's idea and supersedes my "balance" level idea;
- The shrinker interface comes with a stress-test utility, that is what Andrew was also asking for. A simple app that we can run and see if the thing works as expected;
- Added reclaimer's target_mem_cgroup handling;
- As promised, added support for multiple listeners, and fixed some other comments on the previous RFC.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Add mempressure cgroupDocumentation/cgroups/mempressure.txt include/linux/cgroup_subsys.h include/linux/vmstat.h +4 more+414 -029 replies
2/2Add shrinker interface for mempressure cgroupDocumentation/cgroups/mempressure.txt Documentation/cgroups/mempressure_test.c init/Kconfig +1 more+423 -50 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKirill A. Shutemov
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Mempressure cgroup

Hi all,

Here is another round of the mempressure cgroup. This time I dared to remove the RFC tag. :)

In this revision:

- Addressed most of Kirill Shutemov's comments. I didn't bother implementing per-level lists, though. It would needlessly complicate the logic, and the gain would be only visible with lots of watchers (which we don't have for our use-cases). But it is always an option to add the feature;

- I've split the pach into two: 'shrinker' and 'levels' parts. While the full-fledged userland shrinker is an interesting idea, we don't have any users ready for it, so I won't advocate for it too much.

And since at least Kirill has some concerns about it, I don't want the shrinker to block the pressure levels.

So, these are now separate. At some point, I'd like to both of them merged, but if anything, let's discuss them separately;

- Rebased onto v3.8-rc2.

RFC v2 (http://lkml.org/lkml/2012/12/10/128):

- Added documentation, describes APIs and the purpose;
- Implemented shrinker interface, this is based on Andrew's idea and supersedes my "balance" level idea;
- The shrinker interface comes with a stress-test utility, that is what Andrew was also asking for. A simple app that we can run and see if the thing works as expected;
- Added reclaimer's target_mem_cgroup handling;
- As promised, added support for multiple listeners, and fixed some other comments on the previous RFC.

RFC v1 (http://lkml.org/lkml/2012/11/28/109)

--

 Documentation/cgroups/mempressure.txt    |  97 +++++
 Documentation/cgroups/mempressure_test.c | 213 ++++++++++
 include/linux/cgroup_subsys.h            |   6 +
 include/linux/vmstat.h                   |  11 +
 init/Kconfig                             |  13 +
 mm/Makefile                              |   1 +
 mm/mempressure.c                         | 487 +++++++++++++++++++++++
 mm/vmscan.c                              |   4 +
 8 files changed, 832 insertions(+)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>