aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorVakul Garg <[email protected]>2018-06-30 00:45:55 +0530
committerDavid S. Miller <[email protected]>2018-06-30 21:25:39 +0900
commit4e485d06bb8c7811a0d69a811c77befd54b9ab0c (patch)
tree83739c15a00c922f1b44e901cef4db7423302e0a /tools/perf/scripts/python/event_analyzing_sample.py
parent180390c470e1b6e3e19b4f969524182eeb5e4e6c (diff)
strparser: Call skb_unclone conditionally
Calling skb_unclone() is expensive as it triggers a memcpy operation. Instead of calling skb_unclone() unconditionally, call it only when skb has a shared frag_list. This improves tls rx throughout significantly. Signed-off-by: Vakul Garg <[email protected]> Suggested-by: Boris Pismenny <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions