diff options
author | 2018-06-21 03:29:49 +0530 | |
---|---|---|
committer | 2018-06-21 09:54:05 +0900 | |
commit | 456488cd952c23d451b0bdc5b5226b0707db80f7 (patch) | |
tree | 99832c64a319d35a3b9475539654f1e1df03464b /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | selftests: net: add config fragments (diff) | |
download | linux-dev-456488cd952c23d451b0bdc5b5226b0707db80f7.tar.xz linux-dev-456488cd952c23d451b0bdc5b5226b0707db80f7.zip |
strparser: Don't schedule in workqueue in paused state
In function strp_data_ready(), it is useless to call queue_work if
the state of strparser is already paused. The state checking should
be done before calling queue_work. The change reduces the context
switches and improves the ktls-rx throughput by approx 20% (measured
on cortex-a53 based platform).
Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Acked-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions