aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-03-27 19:12:06 +0000
committerJakub Kicinski <[email protected]>2024-03-29 15:04:07 +0000
commit50e2907ef8bb52cf80ecde9eec5c4dac07177146 (patch)
tree6d01a47aca4792e68c88e1ac139fc3d65ee732e5 /net/unix/af_unix.c
parentnet: dsa: hellcreek: Convert to gettimex64() (diff)
downloadkernel-50e2907ef8bb52cf80ecde9eec5c4dac07177146.tar.gz
kernel-50e2907ef8bb52cf80ecde9eec5c4dac07177146.zip
tcp/dccp: bypass empty buckets in inet_twsk_purge()
TCP ehash table is often sparsely populated. inet_twsk_purge() spends too much time calling cond_resched(). This patch can reduce time spent in inet_twsk_purge() by 20x. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions