]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.fixes/oom-warning
Change qemu to a version that support kvm and kqemu.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.fixes / oom-warning
1 From: Andrea Arcangeli <andrea@suse.de>
2 Subject: Tell the end user they should not worry about GFP_ATOMIC failures
3 Patch-mainline: no
4 References: SUSE48965
5
6 x
7
8 Signed-off-by: Andrea Arcangeli <andrea@suse.de>
9
10 ---
11 mm/page_alloc.c | 8 +++++++-
12 1 file changed, 7 insertions(+), 1 deletion(-)
13
14 --- a/mm/page_alloc.c
15 +++ b/mm/page_alloc.c
16 @@ -1650,7 +1650,13 @@ nofail_alloc:
17
18 nopage:
19 if (!(gfp_mask & __GFP_NOWARN) && printk_ratelimit()) {
20 - printk(KERN_WARNING "%s: page allocation failure."
21 + if (!wait) {
22 + printk(KERN_INFO "The following is only an harmless informational message.\n");
23 + printk(KERN_INFO "Unless you get a _continuous_flood_ of these messages it means\n");
24 + printk(KERN_INFO "everything is working fine. Allocations from irqs cannot be\n");
25 + printk(KERN_INFO "perfectly reliable and the kernel is designed to handle that.\n");
26 + }
27 + printk(KERN_INFO "%s: page allocation failure."
28 " order:%d, mode:0x%x\n",
29 p->comm, order, gfp_mask);
30 dump_stack();