[Devel] [RFC][PATCH 0/3] Containers: Integrated RSS and pagecache control v5

2007-06-29 Thread Vaidyanathan Srinivasan
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

[Devel] [RFC][PATCH 1/3] Pagecache accounting

2007-06-29 Thread Vaidyanathan Srinivasan
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

[Devel] [RFC][PATCH 2/3] Pagecache and RSS accounting hooks

2007-06-29 Thread Vaidyanathan Srinivasan
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.

[Devel] [RFC][PATCH 3/3] Pagecache reclaim

2007-06-29 Thread Vaidyanathan Srinivasan
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 ---

[Devel] filemap.c: interesting check around zero_length_segment:

2007-06-29 Thread Alexey Dobriyan
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)

AW: [Devel] Vzctl set --userwasswd question

2007-06-29 Thread Dietmar Maurer
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

[Devel] Re: [PATCH 2/3] extent compilation fixes

2007-06-29 Thread Alex Tomas
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(-)

Re: [Devel] breakfast at ols?

2007-06-29 Thread Kir Kolyshkin
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:

[Devel] Re: [PATCH 1/3] ext4 block reservation fix3

2007-06-29 Thread Alex Tomas
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