Re: [PATCH net-next] tcp: use page_ref_inc() in tcp_sendmsg()

2017-02-17 Thread David Miller
From: Eric Dumazet Date: Fri, 17 Feb 2017 09:11:42 -0800 > From: Eric Dumazet > > sk_page_frag_refill() allocates either a compound page or an order-0 > page. We can use page_ref_inc() which is slightly faster than get_page() > > Signed-off-by:

[PATCH net-next] tcp: use page_ref_inc() in tcp_sendmsg()

2017-02-17 Thread Eric Dumazet
From: Eric Dumazet sk_page_frag_refill() allocates either a compound page or an order-0 page. We can use page_ref_inc() which is slightly faster than get_page() Signed-off-by: Eric Dumazet --- net/ipv4/tcp.c |2 +- 1 file changed, 1 insertion(+),