Re: [PATCH 0/3] make mapped executable pages the first class citizen

From: Johannes Weiner
Date: Sat Jun 27 2009 - 07:57:13 EST


On Wed, Jun 24, 2009 at 11:43:21AM +0900, KOSAKI Motohiro wrote:
> > On Tue, Jun 23, 2009 at 10:43:57PM +0800, David Howells wrote:
> > > Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote:
> > >
> > > > David, could you try running this when it occurred again?
> > > >
> > > > make Documentation/vm/page-types
> > > > Documentation/vm/page-types --raw # run as root
> > >
> > > Okay. I managed to catch it between the first and second OOMs, and ran the
> > > command you asked for.
> >
> > Thank you!
> >
> > > 0x0000000000000000 142261 555 ________________________________
> > > 0x0000000000000400 6797 26 __________B_____________________ buddy
> >
> > The buddy+free numbers are pretty high. 26MB PG_buddy pages means much
> > more actual free pages. So I bet the 555MB no-flag pages are mostly free pages.
>
> You mean our VM can make OOM although it have 600MB free pages?

No, it has 600MB free pages after an OOM - which only means that the
OOM killer did a good job ;-)
--
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/