[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130628150321.106fe1e67f0e18a6eb3ca320@linux-foundation.org>
Date: Fri, 28 Jun 2013 15:03:21 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Joern Engel <joern@...fs.org>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH 1/2] hugetlb: properly account rss
On Tue, 18 Jun 2013 14:47:04 -0400 Joern Engel <joern@...fs.org> 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 hugetlbfs since it was merged back in 2002. There
> is every chance existing programs depend on hugepages not being counted
> as rss.
>
> I think the correct solution is to fix the bug and wait for someone to
> complain. It is just as likely that noone cares - as evidenced by the
> fact that noone seems to have noticed for ten years.
>
Yes, that is a concern. I'll toss it in there so we can see what
happens, but I fear that any problems will take a long time to be
discovered.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists