Re: [PATCH 1/2] hugetlb: properly account rss

2013-07-03 Thread Steve Capper
On Wed, Jul 03, 2013 at 02:41:19PM +0100, Steve Capper wrote: [ ... ] > Excluding VM_SHARED VMAs from the counter increment/decrement stopped the > warnings for me. Whoops sorry, the fork copy on write test flagged a BUG, hugetlb_cow will need to be examined too. Cheers, -- Steve -- To unsubs

Re: [PATCH 1/2] hugetlb: properly account rss

2013-07-03 Thread Steve Capper
On Tue, Jun 18, 2013 at 02:47:04PM -0400, Joern Engel wrote: > When moving a program from mmap'ing small pages to mmap'ing huge pages, > a remarkable drop in rss ensues. For some reason hugepages were never > accounted for in rss, which in my book is a clear bug. Sadly this bug > has been present

Re: [PATCH 1/2] hugetlb: properly account rss

2013-06-28 Thread Andrew Morton
On Tue, 18 Jun 2013 14:47:04 -0400 Joern Engel wrote: > When moving a program from mmap'ing small pages to mmap'ing huge pages, > a remarkable drop in rss ensues. For some reason hugepages were never > accounted for in rss, which in my book is a clear bug. Sadly this bug > has been present in h

[PATCH 1/2] hugetlb: properly account rss

2013-06-18 Thread Joern Engel
When moving a program from mmap'ing small pages to mmap'ing huge pages, a remarkable drop in rss ensues. For some reason hugepages were never accounted for in rss, which in my book is a clear bug. Sadly this bug has been present in hugetlbfs since it was merged back in 2002. There is every chanc