summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-07-04 17:42:17 +0000
committerbluhm <bluhm@openbsd.org>2019-07-04 17:42:17 +0000
commit7be83212603cbc273e3245f78d8c327ef9ad0805 (patch)
tree9e654f2d53c7db1bc7e85a3512b121ec186f8bc2 /sys/dev/softraid.c
parentfatal() if getgrnam() cannot find "tty" (diff)
downloadwireguard-openbsd-7be83212603cbc273e3245f78d8c327ef9ad0805.tar.xz
wireguard-openbsd-7be83212603cbc273e3245f78d8c327ef9ad0805.zip
Remove a useless kernel lock from the TCP socket splicing path.
When send buffer space in the drain socket becomes available, a task is added to move data, and also the userland was informed. The latter is not usefull as this would mix a kernel and user stream. So programs do not wait for this event. Avoid calling sowakeup() from sowwakeup(), this also reduces grabing the kernel lock. Instead inform the userland about the write event when the splicing is dissolved in sounsplice(). OK claudio@
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions