Re: [PATCH 0/3] make mapped executable pages the first classcitizen
From: Wu Fengguang
Date: Tue Jun 23 2009 - 22:49:50 EST
On Wed, Jun 24, 2009 at 10:43:21AM +0800, 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?
Not exactly from one of the previous OOM messages:
DMA: 1*4kB 1*8kB 0*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3916kB
DMA32: 576*4kB 15*8kB 1*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 4296kB
It looks like something goes wrong with the buddy system?
Thanks,
Fengguang
--
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/