Thread (21 messages) 21 messages, 2 authors, 2008-05-13
STALE6594d
Revisions (2)
  1. v1 [diff vs current]
  2. v1 current

[PATCH 05/16] myri10ge: don't warn on rx page allocation failure

From: Brice Goglin <hidden>
Date: 2008-05-09 00:46:10

Don't warn when rx page allocations fail, the driver is written
to handle failures, and the huge amount of console output
generated by the warnings makes a bad situation worse.

Signed-off-by: Brice Goglin <redacted>
Signed-off-by: Andrew Gallatin <redacted>
---
 drivers/net/myri10ge/myri10ge.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/net/myri10ge/myri10ge.c
===================================================================
--- linux-2.6.orig/drivers/net/myri10ge/myri10ge.c	2008-05-09 00:03:32.000000000 +0200
+++ linux-2.6/drivers/net/myri10ge/myri10ge.c	2008-05-09 00:04:07.000000000 +0200
@@ -956,7 +956,7 @@
 		} else {
 			/* we need a new page */
 			page =
-			    alloc_pages(GFP_ATOMIC | __GFP_COMP,
+			    alloc_pages(GFP_ATOMIC | __GFP_COMP | __GFP_NOWARN,
 					MYRI10GE_ALLOC_ORDER);
 			if (unlikely(page == NULL)) {
 				if (rx->fill_cnt - rx->cnt < 16)

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help