Thread (1 message) 1 message, 1 author, 2014-11-11

Re: [net-next PATCH v2 4/5] fm10k/igb/ixgbe: Replace __skb_alloc_page with netdev_alloc_page

From: Alexander Duyck <hidden>
Date: 2014-11-11 17:24:49

On 11/11/2014 09:15 AM, Cong Wang wrote:
On Tue, Nov 11, 2014 at 9:11 AM, Alexander Duyck
[off-list ref] wrote:
quoted
diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_main.c b/drivers/net/ethernet/intel/fm10k/fm10k_main.c
index e645af4..73457ed 100644
--- a/drivers/net/ethernet/intel/fm10k/fm10k_main.c
+++ b/drivers/net/ethernet/intel/fm10k/fm10k_main.c
@@ -83,7 +83,7 @@ static bool fm10k_alloc_mapped_page(struct fm10k_ring *rx_ring,
                 return true;

         /* alloc new page for storage */
-       page = alloc_page(GFP_ATOMIC | __GFP_COLD);
+       page = dev_alloc_page();
Doesn't match $subject.
Yeah, I just noticed that.  I missed the patch title and comments when I 
was doing the replacement.

v3 on the way.

Thanks,

Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help