From owner-freebsd-stable Fri Aug 25 20: 5:59 2000 Delivered-To: freebsd-stable@freebsd.org Received: from flux.ptc.spbu.ru (flux.ptc.spbu.ru [195.19.225.195]) by hub.freebsd.org (Postfix) with ESMTP id 992A737B424; Fri, 25 Aug 2000 20:05:49 -0700 (PDT) Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by flux.ptc.spbu.ru (8.9.3/8.9.3/cf-1.0.rbl) with ESMTP id HAA83988; Sat, 26 Aug 2000 07:05:43 +0400 (MSD) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id HAA17041; Sat, 26 Aug 2000 07:05:42 +0400 (MSD) Date: Sat, 26 Aug 2000 07:05:42 +0400 From: "Valeriy E. Ushakov" To: freebsd-stable@FreeBSD.ORG Cc: Peter Wemm Subject: systat broken Message-ID: <20000826070542.B16988@snark.ptc.spbu.ru> Mail-Followup-To: freebsd-stable@FreeBSD.ORG, Peter Wemm Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After this commit systat can't be compiled since it still refers to m_mtypes. Revision 1.11 of src/usr.bin/systat/mbuf.c should be MFC'ed as well, it seems. peter 2000/08/25 16:18:53 PDT Modified files: (Branch: RELENG_4) sys/kern uipc_mbuf.c sys/sys mbuf.h usr.bin/netstat mbuf.c Log: MFC: kern/uipc_mbuf.c v1.53, sys/mbuf.h v1.52, netstat/mbuf.c v1.18 Make mbstat.m_mtypes seperate and viewable via sysctl. Expand the type from u_short to u_long to stop 64K wraparounds, especially on mbtypes[MT_FREE]. Also, the MT_FREE counter was never incremented on creation of new mbufs, so the freelist count was wrong. PR: kern/19809 Submitted by: Ian Dowse MFC forgotten by: albert Revision Changes Path 1.51.2.2 +4 -0 src/sys/kern/uipc_mbuf.c 1.44.2.6 +11 -9 src/sys/sys/mbuf.h 1.17.2.1 +50 -26 src/usr.bin/netstat/mbuf.c SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message