HomeFreeBSD

Clamp the INPCB port hash tables to IPPORT_MAX + 1 chains.

Description

Clamp the INPCB port hash tables to IPPORT_MAX + 1 chains.

Memory beyond that limit was previously unused, wasting roughly 1MB per
8GB of RAM. Also retire INP_PCBLBGROUP_PORTHASH, which was identical to
INP_PCBPORTHASH.

Reviewed by: glebius
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D17803

Details

Provenance
markjAuthored on
Reviewer
glebius
Differential Revision
D17803: Clamp porthash_max to IPPORT_MAX.
Parents
rS341594: Netdump support was added to mlx4en(4) in r341548.
Branches
Unknown
Tags
Unknown