From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Paasch Subject: Re: [PATCH v2] net: add skb allocation flags to pskb_copy Date: Mon, 9 Jun 2014 00:44:02 +0200 Message-ID: <20140608224402.GO5219@cpaasch-mac> References: <098b2d141d2749cf89e3a2552a74a605@UCL-MBX03.OASIS.UCLOUVAIN.BE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "netdev@vger.kernel.org" , Alexander Smirnov , Dmitry Eremin-Solenikov , Marek Lindner , Simon Wunderlich , Antonio Quartulli , Marcel Holtmann , Gustavo Padovan , Johan Hedberg , Arvid Brodin , Patrick McHardy , Pablo Neira Ayuso , Jozsef Kadlecsik , Lauro Ramos Venancio , Aloisio Almeida Jr , Samuel Ortiz , Jon Maloy , Allan Stephens , Andrew Hendry , Eric Dumazet To: Octavian Purdila Return-path: Received: from smtp.sgsi.ucl.ac.be ([130.104.5.67]:50106 "EHLO smtp6.sgsi.ucl.ac.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753707AbaFHWoK (ORCPT ); Sun, 8 Jun 2014 18:44:10 -0400 Content-Disposition: inline In-Reply-To: <098b2d141d2749cf89e3a2552a74a605@UCL-MBX03.OASIS.UCLOUVAIN.BE> Sender: netdev-owner@vger.kernel.org List-ID: On 08/06/14 - 20:56:18, Octavian Purdila wrote: > There are several instances where a pskb_copy or __pskb_copy is > immediately followed by an skb_clone. Add a new parameter to allow the > skb to be allocated from the fclone cache and thus speed up subsequent > skb_clone calls. > > Cc: Alexander Smirnov > Cc: Dmitry Eremin-Solenikov > Cc: Marek Lindner > Cc: Simon Wunderlich > Cc: Antonio Quartulli > Cc: Marcel Holtmann > Cc: Gustavo Padovan > Cc: Johan Hedberg > Cc: Arvid Brodin > Cc: Patrick McHardy > Cc: Pablo Neira Ayuso > Cc: Jozsef Kadlecsik > Cc: Lauro Ramos Venancio > Cc: Aloisio Almeida Jr > Cc: Samuel Ortiz > Cc: Jon Maloy > Cc: Allan Stephens > Cc: Andrew Hendry > Cc: Eric Dumazet > > Signed-off-by: Octavian Purdila > --- > drivers/net/ieee802154/fakelb.c | 2 +- > include/linux/skbuff.h | 8 ++++---- > net/batman-adv/distributed-arp-table.c | 2 +- > net/batman-adv/network-coding.c | 2 +- > net/bluetooth/hci_sock.c | 5 +++-- > net/core/skbuff.c | 9 ++++++--- > net/hsr/hsr_device.c | 2 +- > net/hsr/hsr_main.c | 2 +- > net/ipv4/tcp_output.c | 6 +++--- > net/netfilter/xt_TEE.c | 4 ++-- > net/nfc/llcp_core.c | 2 +- > net/nfc/rawsock.c | 2 +- > net/tipc/bcast.c | 2 +- > net/x25/x25_forward.c | 4 ++-- > 14 files changed, 28 insertions(+), 24 deletions(-) Reviewed-by: Christoph Paasch Cheers, Christoph