[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <55B6BE37.3010804@oracle.com>
Date: Mon, 27 Jul 2015 16:26:47 -0700
From: Mike Kravetz <mike.kravetz@...cle.com>
To: "linux-mm@...ck.org" <linux-mm@...ck.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Cc: Jörn Engel <joern@...estorage.com>
Subject: hugetlb pages not accounted for in rss
I started looking at the hugetlb self tests. The test hugetlbfstest
expects hugetlb pages to be accounted for in rss. However, there is
no code in the kernel to do this accounting.
It looks like there was an effort to add the accounting back in 2013.
The test program made it into tree, but the accounting code did not.
The easiest way to resolve this issue would be to remove the test and
perhaps document that hugetlb pages are not accounted for in rss.
However, it does seem like a big oversight that hugetlb pages are not
accounted for in rss. From a quick scan of the code it appears THP
pages are properly accounted for.
Thoughts?
--
Mike Kravetz
--
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