aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-11-15 11:02:40 -0800
committerDavid S. Miller <davem@davemloft.net>2021-11-16 13:10:34 +0000
commit93afcfd1db35882921b2521a637c78755c27b02c (patch)
treee5bd0dd1290a879e31023cef54113e98fb876611 /include/net/sock.h
parentnet: cache align tcp_memory_allocated, tcp_sockets_allocated (diff)
downloadlinux-dev-93afcfd1db35882921b2521a637c78755c27b02c.tar.xz
linux-dev-93afcfd1db35882921b2521a637c78755c27b02c.zip
tcp: small optimization in tcp recvmsg()
When reading large chunks of data, incoming packets might be added to the backlog from BH. tcp recvmsg() detects the backlog queue is not empty, and uses a release_sock()/lock_sock() pair to process this backlog. We now have __sk_flush_backlog() to perform this a bit faster. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions