HomeFreeBSD

tcp_hpts: move HPTS related fields from inpcb to tcpcb

Description

tcp_hpts: move HPTS related fields from inpcb to tcpcb

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

Reviewed by: rrs
Differential Revision: https://reviews.freebsd.org/D39697

Details

Provenance
glebiusAuthored on Apr 25 2023, 7:18 PM
Reviewer
rrs
Differential Revision
D39697: tcp_hpts: move HPTS related fields from inpcb to tcpcb
Parents
rG144259f67303: tcp: purge the input queue from tcp_discardcb()
Branches
Unknown
Tags
Unknown