Re: [PATCH v2] net: add skb allocation flags to pskb_copy
From: Christoph Paasch <hidden>
Date: 2014-06-08 22:44:10
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 <redacted> Cc: Dmitry Eremin-Solenikov <redacted> Cc: Marek Lindner <redacted> Cc: Simon Wunderlich <sw@simonwunderlich.de> Cc: Antonio Quartulli <redacted> Cc: Marcel Holtmann <marcel@holtmann.org> Cc: Gustavo Padovan <redacted> Cc: Johan Hedberg <redacted> Cc: Arvid Brodin <redacted> Cc: Patrick McHardy <redacted> Cc: Pablo Neira Ayuso <pablo@netfilter.org> Cc: Jozsef Kadlecsik <redacted> Cc: Lauro Ramos Venancio <redacted> Cc: Aloisio Almeida Jr <redacted> Cc: Samuel Ortiz <redacted> Cc: Jon Maloy <redacted> Cc: Allan Stephens <redacted> Cc: Andrew Hendry <redacted> Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Octavian Purdila <redacted> --- 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 <redacted> Cheers, Christoph