Re: [RFC] mm:add KPF_ZERO_PAGE flag for /proc/kpageflags

2014-12-05 Thread Andrew Morton
; linux...@kvack.org; linux-arm- > > ker...@lists.infradead.org; a...@linux-foundation.org; n- > > horigu...@ah.jp.nec.com > > Subject: Re: [RFC] mm:add KPF_ZERO_PAGE flag for /proc/kpageflags > > > > On Fri, Dec 5, 2014 at 11:57 AM, Wang, Yalin > > wrote: > > >

RE: [RFC] mm:add KPF_ZERO_PAGE flag for /proc/kpageflags

2014-12-05 Thread Wang, Yalin
rigu...@ah.jp.nec.com > Subject: Re: [RFC] mm:add KPF_ZERO_PAGE flag for /proc/kpageflags > > On Fri, Dec 5, 2014 at 11:57 AM, Wang, Yalin > wrote: > > This patch add KPF_ZERO_PAGE flag for zero_page, so that userspace > > process can notice zero_page from /proc/kpa

Re: [RFC] mm:add KPF_ZERO_PAGE flag for /proc/kpageflags

2014-12-05 Thread Konstantin Khlebnikov
On Fri, Dec 5, 2014 at 11:57 AM, Wang, Yalin wrote: > This patch add KPF_ZERO_PAGE flag for zero_page, > so that userspace process can notice zero_page from > /proc/kpageflags, and then do memory analysis more accurately. It would be nice to mark also huge_zero_page. See (completely untested) pat