]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.25/patches.fixes/oom-warning
Changed checkfs to auto reboot after correctable fsck fixes.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.fixes / oom-warning
CommitLineData
00e5a55c
BS
1From: Andrea Arcangeli <andrea@suse.de>
2Subject: Tell the end user they should not worry about GFP_ATOMIC failures
3Patch-mainline: no
4References: SUSE48965
5
6x
7
8Signed-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@@ -1645,7 +1645,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();