Thread (3 messages) flat view 3 messages, 3 authors, 2018-06-21

Re: [PATCH net][RESEND] strparser: Don't schedule in workqueue in paused state

From: David Miller <davem@davemloft.net>
Date: 2018-06-21 00:54:28
Also in: lkml

From: Vakul Garg <redacted>
Date: Thu, 21 Jun 2018 03:29:49 +0530
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 <redacted>
Applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help