Re: 2.6.0-test9-mm4: page allocation failure. order 3, mode 0x20

From: Andrew Morton
Date: Fri Nov 21 2003 - 01:21:59 EST


Jurriaan <thunder7@xxxxxxxxx> wrote:
>
> After several runs of cdda2wav I get this message:
>
> Nov 21 07:03:34 middle kernel: cdda2wav: page allocation failure. order:3, mode:0x20
> Nov 21 07:03:34 middle last message repeated 36 times
>
> ...
>
> I ran cdda2wav a lot more under 2.9.0-test9-mm3 and didn't see this
> message.

Are you sure you were running -mm4 and not Linus's kernel? -mm has a tweak
for this, and it was present in -mm4.

It would help to add this patch; maybe the allocation is coming from
somewhere else.


diff -puN mm/page_alloc.c~a mm/page_alloc.c
--- 25/mm/page_alloc.c~a 2003-11-20 22:25:23.000000000 -0800
+++ 25-akpm/mm/page_alloc.c 2003-11-20 22:25:38.000000000 -0800
@@ -672,6 +672,7 @@ nopage:
printk("%s: page allocation failure."
" order:%d, mode:0x%x\n",
p->comm, order, gfp_mask);
+ dump_stack();
}
return NULL;
got_pg:

_

-
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/