Containers: Integrated RSS and pagecache accounting and control v5
--
Based on the discussions at OLS yesterday, the consensus was to try an
integrated pagecache controller along with RSS controller under the
same usage limit.
This
Pagecache Accounting
The rss accounting hooks have been generalised to handle both anon pages
and file backed pages and charge the resource counter.
Ref count has been added to page_container structure. The ref count is used
to ensure a page is added or removed from
Pagecache and RSS accounting Hooks
--
New calls have been added from swap_state.c and filemap.c to track pagecache and
swapcache pages.
All existing RSS hooks have been generalised for pagecache accounting as well.
Most of these are function prototype changes.
Pagecache controller reclaim changes
Reclaim path needs performance improvement.
For now it is minor changes to include unmapped
pages in our list of page_container.
Signed-off-by: Vaidyanathan Srinivasan [EMAIL PROTECTED]
---
mm/rss_container.c |3 ---
Adding -W -Wno-stupid-warnings results in the following warning:
mm/filemap.c: In function 'generic_file_buffered_write':
mm/filemap.c:2179: warning: comparison of unsigned expression = 0 is always
true
if (likely(copied = 0)) {
if (!status)
OK, now the VPS stpos correctly, but i get the following error:
vzctl set 777 --userpasswd root:test
Starting VE ...
VE is mounted
VE start in progress...
Stopping VE ...
VE was stopped
VE is unmounted
Configure meminfo: 309371
Unable to set meminfo: Invalid argument
- Dietmar
Acked-off-by: Alex Tomas [EMAIL PROTECTED]
thanks, Alex
Dmitry Monakhov wrote:
Fix compilation with EXT_DEBUG, also fix leXX_to_cpu convertions.
Signed-off-by: Dmitry Monakhov [EMAIL PROTECTED]
---
fs/ext4/extents.c | 18 ++
1 files changed, 10 insertions(+), 8 deletions(-)
OK, looks like we came to the consensus and our so-called annual
containers breakfast at OLS (TM) event will happen tomorrow (Thursday)
morning, at 8:30am, Starbucks cafe near the Rideau Centre.
Again
Time: 8:30am Tuesday 28 June
Place: Starbucks, 47 Rideau Street
Map:
Acked-off-by: Alex Tomas [EMAIL PROTECTED]
thanks, Alex
Dmitry Monakhov wrote:
If ext4_reserve_block has failed we have to drop quota.
Signed-off-by: Dmitry Monakhov [EMAIL PROTECTED]
---
fs/ext4/balloc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git