[Bug 264181] [exp-run] Identify xsockbuf's sb_mcnt/sb_ccnt usage in ports

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 May 2022 15:21:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264181

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=d59bc188d652dfaa06bef9963120aa54c4c68875

commit d59bc188d652dfaa06bef9963120aa54c4c68875
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2022-05-27 15:19:28 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2022-05-27 15:20:17 +0000

    sockbuf: remove unused mbuf counter and cluster counter

    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)
    Reviewed by:            markj
    Differential revision:  https://reviews.freebsd.org/D35334

 sys/kern/uipc_debug.c     |  2 --
 sys/kern/uipc_sockbuf.c   | 31 ++++++-------------------------
 sys/sys/sockbuf.h         |  2 --
 sys/sys/socketvar.h       |  2 --
 usr.bin/netstat/inet.c    | 13 +++----------
 usr.bin/netstat/netstat.1 |  9 ++-------
 6 files changed, 11 insertions(+), 48 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.