diff options
author | 2014-10-01 15:27:15 -0700 | |
---|---|---|
committer | 2014-10-01 21:27:23 -0400 | |
commit | ce1a4ea3f125863bfbcb1afb76590ee2b7b93fbf (patch) | |
tree | 5efaaa29736600ab06f5c4ed27af855fb543de13 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net/dccp/ccid.c: add __init to ccid_activate (diff) | |
download | wireguard-linux-ce1a4ea3f125863bfbcb1afb76590ee2b7b93fbf.tar.xz wireguard-linux-ce1a4ea3f125863bfbcb1afb76590ee2b7b93fbf.zip |
net: avoid one atomic operation in skb_clone()
Fast clone cloning can actually avoid an atomic_inc(), if we
guarantee prior clone_ref value is 1.
This requires a change kfree_skbmem(), to perform the
atomic_dec_and_test() on clone_ref before setting fclone to
SKB_FCLONE_UNAVAILABLE.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions