Skip to content
Commit 2b41fab7 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

inet: cache listen_sock_qlen() and read rskq_defer_accept once



Cache listen_sock_qlen() to limit false sharing, and read
rskq_defer_accept once as it might change under us.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c9231f82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment