[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131018.000914.512438003196100861.davem@davemloft.net>
Date: Fri, 18 Oct 2013 00:09:14 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: mwdalton@...gle.com, dborkman@...hat.com, netdev@...r.kernel.org,
ffusco@...hat.com, ycheng@...gle.com, ncardwell@...gle.com,
digitaleric@...gle.com
Subject: Re: [PATCH v3 net-next] net: refactor sk_page_frag_refill()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 17 Oct 2013 16:27:07 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> While working on virtio_net new allocation strategy to increase
> payload/truesize ratio, we found that refactoring sk_page_frag_refill()
> was needed.
>
> This patch splits sk_page_frag_refill() into two parts, adding
> skb_page_frag_refill() which can be used without a socket.
>
> While we are at it, add a minimum frag size of 32 for
> sk_page_frag_refill()
>
> Michael will either use netdev_alloc_frag() from softirq context,
> or skb_page_frag_refill() from process context in refill_work()
> (GFP_KERNEL allocations)
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists