From: Doron Roberts-Kedes <[email protected]>
Date: Wed, 6 Jun 2018 09:33:28 -0700

> strp_unpause queues strp_work in order to parse any messages that
> arrived while the strparser was paused. However, the process invoking
> strp_unpause could eagerly parse a buffered message itself if it held
> the sock lock.
> 
> __strp_unpause is an alternative to strp_pause that avoids the scheduling
> overhead that results when a receiving thread unpauses the strparser
> and waits for the next message to be delivered by the workqueue thread.
> 
> This patch more than doubled the IOPS achieved in a benchmark of NBD
> traffic encrypted using ktls.
> 
> Signed-off-by: Doron Roberts-Kedes <[email protected]>

Applied, thank you.

Reply via email to