diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-07-04 17:42:18 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-07-04 17:42:18 +0000 |
commit | 1564ed093b36657026d24cee53df2a14c48f3fd2 (patch) | |
tree | 206ae45223e66b3b7ccc5c1c629e2513be8d838a /usr.bin/false | |
parent | 6a9db0e175182fe8ff9b92c3e101ba0f1fc45d60 (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