Page MenuHomeFreeBSD

tcp_hpts: move HPTS related fields from inpcb to tcpcb
ClosedPublic

Authored by glebius on Apr 19 2023, 5:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 26, 10:35 PM
Unknown Object (File)
Mon, Jan 26, 9:11 AM
Unknown Object (File)
Sun, Jan 25, 6:25 AM
Unknown Object (File)
Sat, Jan 24, 11:16 PM
Unknown Object (File)
Fri, Jan 23, 10:37 AM
Unknown Object (File)
Wed, Jan 21, 8:20 AM
Unknown Object (File)
Dec 11 2025, 11:37 AM
Unknown Object (File)
Nov 29 2025, 8:54 PM
Subscribers

Details

Summary

This makes inpcb lighter and allows future cache line optimizations
of tcpcb. The reason why HPTS originally used inpcb is the TIME-WAIT
state that used to free a tcpcb, while the associated connection is
still on the HPTS ring.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 51040
Build 47931: arc lint + arc unit