summaryrefslogtreecommitdiff
path: root/usr.bin/false
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2019-07-04 17:42:18 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2019-07-04 17:42:18 +0000
commit1564ed093b36657026d24cee53df2a14c48f3fd2 (patch)
tree206ae45223e66b3b7ccc5c1c629e2513be8d838a /usr.bin/false
parent6a9db0e175182fe8ff9b92c3e101ba0f1fc45d60 (diff)
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 'usr.bin/false')
0 files changed, 0 insertions, 0 deletions