Page MenuHomeFreeBSD

tcp: use callout(9) directly instead of pr_slowtimo
ClosedPublic

Authored by glebius on Aug 12 2022, 8:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 20 2024, 2:43 PM
Unknown Object (File)
Feb 20 2024, 2:43 PM
Unknown Object (File)
Feb 20 2024, 2:43 PM
Unknown Object (File)
Feb 20 2024, 2:43 PM
Unknown Object (File)
Feb 20 2024, 2:43 PM
Unknown Object (File)
Feb 20 2024, 10:09 AM
Unknown Object (File)
Dec 22 2023, 11:37 PM
Unknown Object (File)
Dec 12 2023, 7:47 AM
Subscribers

Details

Summary

Modern TCP stacks uses multiple callouts per tcpcb, and a global
callout is ancient artifact. However it is still used to garbage
collect compressed timewait entries.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46984
Build 43873: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Aug 12 2022, 10:06 AM
sys/netinet/tcp_subr.c
1573 ↗(On Diff #109225)

Maybe schedule it immediately to avoid duplicating the timeout? Or define it explicitly in tcp_var.h ?

sys/netinet/tcp_timer.c
256
This revision now requires review to proceed.Aug 16 2022, 10:12 PM
This revision is now accepted and ready to land.Aug 17 2022, 6:07 PM