Vanilla-Kernel 3 - page allocation failure

From: Philipp Herz - Profihost AG
Date: Tue Oct 18 2011 - 06:31:47 EST


After updating kernel (x86_64) to stable version 3 there are a few messages appearing in the kernel log such as

kworker/0:1: page allocation failure: order:1, mode:0x20
mysql: page allocation failure: order:1, mode:0x20
php5: page allocation failure: order:1, mode:0x20

Searching the net showed that these messages are known to occur since 2004.

Some people were able to get rid of them by setting /proc/sys/vm/min_free_kbytes to a high enough value. This does not help in our case.


Is there a kernel comand line argument to avoid these messages?

As of mm/page_alloc.c these messages are marked to be only warning messages and would not appear if 'gpf_mask' was set to __GFP_NOWARN in function warn_alloc_failed.

How does this mask get set? Is it set by the "external" process knocking at the memory manager?

What is the magic behind the 'order' and 'mode'?

I'm not a subscriber, so please CC me a copy of messages related to the subject. I'm not sure if I can help much by looking at the inside of the kernel, but I will try my best to answer any questions concerning this issue.

Best regards, Philipp
--
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/