[-mm PATCH 0/8] Memory controller introduction (v2)
balbir at linux.vnet.ibm.com
Thu Jul 5 22:20:29 PDT 2007
Changelog since version 1
1. Fixed some compile time errors (in mm/migrate.c from Vaidyanathan S)
2. Fixed a panic seen when LIST_DEBUG is enabled
3. Added a mechanism to control whether we track page cache or both
page cache and mapped pages (as requested by Pavel)
This patchset implements another version of the memory controller. These
patches have been through a big churn, the first set of patches were posted
last year and earlier this year at
Ever since, the RSS controller has been through four revisions, the latest
This patchset draws from the patches listed above and from some of the
contents of the patches posted by Vaidyanathan for page cache control.
Pavel, Vaidy could you look at the patches and add your signed off by
At OLS, the resource management BOF, it was discussed that we need to manage
RSS and unmapped page cache together. This patchset is a step towards that
1. Add memory controller water mark support. Reclaim on high water mark
2. Add support for shrinking on limit change
3. Add per zone per container LRU lists
4. Make page_referenced() container aware
5. Figure out a better CLUI for the controller
In case you have been using/testing the RSS controller, you'll find that
this controller works slower than the RSS controller. The reason being
that both swap cache and page cache is accounted for, so pages do go
out to swap upon reclaim (they cannot live in the swap cache).
I've test compiled the framework without the controller enabled, tested
the code on UML and minimally on a power box.
Any test output, feedback, comments, suggestions are welcome!
Linux Technology Center
More information about the Containers