aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorDoron Roberts-Kedes <[email protected]>2018-06-06 16:33:28 +0000
committerDavid S. Miller <[email protected]>2018-06-06 18:07:53 +0000
commit7170e6045a6a8b33f4fa5753589dc77b16198e2d (patch)
treed0b3c5b6035ce9ca8ef2fbfc01964221be142441 /security/selinux/hooks.c
parentrxrpc: Fix terminal retransmission connection ID to include the channel (diff)
downloadkernel-7170e6045a6a8b33f4fa5753589dc77b16198e2d.tar.gz
kernel-7170e6045a6a8b33f4fa5753589dc77b16198e2d.zip
strparser: Add __strp_unpause and use it in ktls.
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]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions