Subject: kern/7059: mbstat.m_cl* counts no longer maintained.
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: netbsd-bugs
Date: 02/27/1999 16:43:18
>Number: 7059
>Category: kern
>Synopsis: mbstat.m_cl* counts no longer maintained.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 27 08:50:00 1999
>Last-Modified:
>Originator: Bill Sommerfeld
>Organization:
none
>Release: 19990226
>Environment:
System: NetBSD orchard.arlington.ma.us 1.3I NetBSD 1.3I (ORCHARDII) #12: Sun Feb 7 14:20:14 EST 1999 root@orchard.arlington.ma.us:/usr/sandbox/sys/arch/i386/compile/ORCHARDII i386
>Description:
when mbuf clusters were changed to use the pool subsystem,
cluster accounting was just ripped out.
>How-To-Repeat:
grep for m_clfree and m_clusters in the kernel. notice a
distinct lack of grep hits.
>Fix:
Either put the counts back, or fix netstat to go look in the
pool headers for mclpool (and mbpool, for that matter).
(i think the latter's a better approach as pools already
appear to be doing the accouinting, and it will result in a more
accurate "Nk allocated to the network, k% in use" figure.
>Audit-Trail:
>Unformatted: