RE: [RFC V2] mm:add zero_page _mapcount when mapped into user space

2014-12-05 Thread Wang, Yalin
A. Shutemov [mailto:kir...@shutemov.name] > >> > Sent: Tuesday, December 02, 2014 7:30 PM > >> > To: Wang, Yalin > >> > Cc: 'linux-kernel@vger.kernel.org'; 'linux...@kvack.org'; > >> > 'linux-arm- ker...@lists.infradead.org' >

Re: [RFC V2] mm:add zero_page _mapcount when mapped into user space

2014-12-04 Thread Konstantin Khlebnikov
t; > To: Wang, Yalin >> > Cc: 'linux-kernel@vger.kernel.org'; 'linux...@kvack.org'; 'linux-arm- >> > ker...@lists.infradead.org' >> > Subject: Re: [RFC V2] mm:add zero_page _mapcount when mapped into user >> > space >> > &g

Re: [RFC V2] mm:add zero_page _mapcount when mapped into user space

2014-12-04 Thread Kirill A. Shutemov
#x27;linux...@kvack.org'; 'linux-arm- > > ker...@lists.infradead.org' > > Subject: Re: [RFC V2] mm:add zero_page _mapcount when mapped into user > > space > > > > On Tue, Dec 02, 2014 at 05:27:36PM +0800, Wang, Yalin wrote: > > > This patch a

RE: [RFC V2] mm:add zero_page _mapcount when mapped into user space

2014-12-03 Thread Wang, Yalin
g' > Subject: Re: [RFC V2] mm:add zero_page _mapcount when mapped into user > space > > On Tue, Dec 02, 2014 at 05:27:36PM +0800, Wang, Yalin wrote: > > This patch add/dec zero_page's _mapcount to make sure the mapcount is > > correct for zero_page, so that when read from

Re: [RFC V2] mm:add zero_page _mapcount when mapped into user space

2014-12-02 Thread Kirill A. Shutemov
On Tue, Dec 02, 2014 at 05:27:36PM +0800, Wang, Yalin wrote: > This patch add/dec zero_page's _mapcount to make sure > the mapcount is correct for zero_page, > so that when read from /proc/kpagecount, zero_page's > mapcount is also correct, userspace process like procrank can > calculate PSS correc