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)
Tue, Oct 14, 5:05 AM
Unknown Object (File)
Tue, Oct 14, 5:05 AM
Unknown Object (File)
Tue, Oct 14, 5:05 AM
Unknown Object (File)
Mon, Oct 13, 3:37 PM
Unknown Object (File)
Sat, Oct 4, 2:55 AM
Unknown Object (File)
Sep 5 2025, 7:32 AM
Unknown Object (File)
Aug 14 2025, 10:17 PM
Unknown Object (File)
Jul 18 2025, 1:52 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