summaryrefslogtreecommitdiff
path: root/tools/testing/vma/include/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLaurence Rowe <laurencerowe@gmail.com>2026-04-02 13:49:18 -0700
committerJakub Kicinski <kuba@kernel.org>2026-04-06 18:29:01 -0700
commit98f28d8d6e5a5ed058dd37854c19e9b3bae72eff (patch)
tree7e5f15a43efa854a405bdcf30e9ee1c113f609e8 /tools/testing/vma/include/git@git.tavy.me:linux.git
parentc8eee00c0fef5f709b9114be432d7b3afebb4c0a (diff)
vsock: avoid timeout for non-blocking accept() with empty backlog
A common pattern in epoll network servers is to eagerly accept all pending connections from the non-blocking listening socket after epoll_wait indicates the socket is ready by calling accept in a loop until EAGAIN is returned indicating that the backlog is empty. Scheduling a timeout for a non-blocking accept with an empty backlog meant AF_VSOCK sockets used by epoll network servers incurred hundreds of microseconds of additional latency per accept loop compared to AF_INET or AF_UNIX sockets. Signed-off-by: Laurence Rowe <laurencerowe@gmail.com> Reviewed-by: Bobby Eshleman <bobbyeshleman@meta.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://patch.msgid.link/20260402204918.130395-1-laurencerowe@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions