Skip to contentSkip to conversation

Vanilla-Kernel 3 - page allocation failure

DISCUSSION Philipp Herz - Profihost AG 2 participants 2 messages Oct 18, 2011 – Oct 19, 2011 Memory management

lore
Share & tools
lore
#0 lore raw

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, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#1 lore raw
Quoted 3 lines · Philipp Herz - Profihost AG

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

Looks like you posted this separately on two different lists, please see my reply at https://lkml.org/lkml/2011/10/18/506 and respond directly to that post. Thanks!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>