Page MenuHomeFreeBSD

sockbuf: remove unused mbuf counter and cluster counter
ClosedPublic

Authored by glebius on May 27 2022, 4:14 AM.
Tags
None
Referenced Files
F152468821: D35334.id.diff
Wed, Apr 15, 3:56 AM
Unknown Object (File)
Wed, Mar 25, 7:58 AM
Unknown Object (File)
Feb 8 2026, 7:46 AM
Unknown Object (File)
Feb 8 2026, 12:43 AM
Unknown Object (File)
Jan 31 2026, 6:06 AM
Unknown Object (File)
Jan 18 2026, 2:35 PM
Unknown Object (File)
Dec 21 2025, 12:11 AM
Unknown Object (File)
Dec 20 2025, 3:53 PM

Details

Summary

With M_EXTPG mbufs these two counters already do not represent the
reality. As we are moving towards protocol independent socket buffers,
which may not even use mbufs at all, the counters become less and less
relevant. The only userland seeing them was 'netstat -x'.

PR: 264181 (exp-run)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable