From: Andrea Arcangeli <andrea@suse.de>
Subject: Tell the end user they should not worry about GFP_ATOMIC failures
Patch-mainline: no
References: SUSE48965
x
Signed-off-by: Andrea Arcangeli <andrea@suse.de>
---
mm/page_alloc.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -2087,7 +2087,13 @@ rebalance:
if (in_interrupt() || !wait)
filter &= ~SHOW_MEM_FILTER_NODES;
- pr_warning("%s: page allocation failure. order:%d, mode:0x%x\n",
+ if (!wait) {
+ pr_info("The following is only an harmless informational message.\n");
+ pr_info("Unless you get a _continuous_flood_ of these messages it means\n");
+ pr_info("everything is working fine. Allocations from irqs cannot be\n");
+ pr_info("perfectly reliable and the kernel is designed to handle that.\n");
+ }
+ pr_info("%s: page allocation failure. order:%d, mode:0x%x\n",
current->comm, order, gfp_mask);
dump_stack();
if (!should_suppress_show_mem())