* Patch "amd-xgbe: Add the __GFP_NOWARN flag to Rx buffer allocation" has been added to the 4.1-stable tree
@ 2015-07-04 3:05 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-07-04 3:05 UTC (permalink / raw)
To: thomas.lendacky, davem, gregkh; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
amd-xgbe: Add the __GFP_NOWARN flag to Rx buffer allocation
to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
amd-xgbe-add-the-__gfp_nowarn-flag-to-rx-buffer-allocation.patch
and it can be found in the queue-4.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From foo@baz Fri Jul 3 20:00:25 PDT 2015
From: Tom Lendacky <thomas.lendacky@amd.com>
Date: Mon, 29 Jun 2015 11:22:12 -0500
Subject: amd-xgbe: Add the __GFP_NOWARN flag to Rx buffer allocation
From: Tom Lendacky <thomas.lendacky@amd.com>
[ Upstream commit 472cfe7127760d68b819cf35a26e5a1b44b30f4e ]
When allocating Rx related buffers, alloc_pages is called using an order
number that is decreased until successful. A system under stress can
experience failures during this allocation process resulting in a warning
being issued. This message can be of concern to end users even though the
failure is not fatal. Since the failure is not fatal and can occur
multiple times, the driver should include the __GFP_NOWARN flag to
suppress the warning message from being issued.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/net/ethernet/amd/xgbe/xgbe-desc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/ethernet/amd/xgbe/xgbe-desc.c
+++ b/drivers/net/ethernet/amd/xgbe/xgbe-desc.c
@@ -263,7 +263,7 @@ static int xgbe_alloc_pages(struct xgbe_
int ret;
/* Try to obtain pages, decreasing order if necessary */
- gfp |= __GFP_COLD | __GFP_COMP;
+ gfp |= __GFP_COLD | __GFP_COMP | __GFP_NOWARN;
while (order >= 0) {
pages = alloc_pages(gfp, order);
if (pages)
Patches currently in stable-queue which might be from thomas.lendacky@amd.com are
queue-4.1/amd-xgbe-add-the-__gfp_nowarn-flag-to-rx-buffer-allocation.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-04 3:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-04 3:05 Patch "amd-xgbe: Add the __GFP_NOWARN flag to Rx buffer allocation" has been added to the 4.1-stable tree gregkh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).