Re: [RFC] mm:add KPF_ZERO_PAGE flag for /proc/kpageflags
From: Andrew Morton
Date: Fri Dec 05 2014 - 17:31:40 EST
On Fri, 5 Dec 2014 18:22:33 +0800 "Wang, Yalin" <Yalin.Wang@xxxxxxxxxxxxxx> wrote:
> > -----Original Message-----
> > From: Konstantin Khlebnikov [mailto:koct9i@xxxxxxxxx]
> > Sent: Friday, December 05, 2014 5:21 PM
> > To: Wang, Yalin
> > Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-mm@xxxxxxxxx; linux-arm-
> > kernel@xxxxxxxxxxxxxxxxxxx; akpm@xxxxxxxxxxxxxxxxxxxx; n-
> > horiguchi@xxxxxxxxxxxxx
> > Subject: Re: [RFC] mm:add KPF_ZERO_PAGE flag for /proc/kpageflags
> >
> > On Fri, Dec 5, 2014 at 11:57 AM, Wang, Yalin <Yalin.Wang@xxxxxxxxxxxxxx>
> > 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) patch in attachment.
> >
> Got it,
> Thanks for your patch.
Documentation/vm/pagemap.txt will need updating please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/