[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141210110556.GA10630@node.dhcp.inet.fi>
Date: Wed, 10 Dec 2014 13:05:56 +0200
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: "Wang, Yalin" <Yalin.Wang@...ymobile.com>
Cc: 'Andrew Morton' <akpm@...ux-foundation.org>,
'Konstantin Khlebnikov' <koct9i@...il.com>,
"'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>,
"'linux-mm@...ck.org'" <linux-mm@...ck.org>,
"'linux-arm-kernel@...ts.infradead.org'"
<linux-arm-kernel@...ts.infradead.org>,
"'n-horiguchi@...jp.nec.com'" <n-horiguchi@...jp.nec.com>,
"'oleg@...hat.com'" <oleg@...hat.com>,
"'gorcunov@...nvz.org'" <gorcunov@...nvz.org>,
"'pfeiner@...gle.com'" <pfeiner@...gle.com>
Subject: Re: [RFC] mm:fix zero_page huge_zero_page rss/pss statistic
On Wed, Dec 10, 2014 at 03:22:21PM +0800, Wang, Yalin wrote:
> smaps_pte_entry() doesn't ignore zero_huge_page,
> but it ignore zero_page, because vm_normal_page() will
> ignore it. We remove vm_normal_page() call, because walk_page_range()
> have ignore VM_PFNMAP vma maps, it's safe to just use pfn_valid(),
> so that we can also consider zero_page to be a valid page.
We fixed huge zero page accounting in smaps recentely. See mm tree.
--
Kirill A. Shutemov
--
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