cvs commit: src/sys/kern uipc_mbuf.c

Pawel Jakub Dawidek nick at garage.freebsd.pl
Mon Jun 23 11:02:15 PDT 2003


On Mon, Jun 23, 2003 at 10:52:24AM -0700, Mike Silbersack wrote:
+>   Commiter:	Mike Silbersack <silby at FreeBSD.org>
+>   Branch:	RELENG_4
+> 
+>   Files:
+> 	1.51.2.25   src/sys/kern/uipc_mbuf.c  
+> 
+>   Log:
+>   MFC rev 1.118
+>   
+>     Hide the m_defrag* statistics under MBUF_STRESS_TEST, there seems
+>     to be no need to see them in the general case (and they aren't
+>     smp-safe anyway.)
+>   
+> 
+> Diffs:
[...]
+> @@ -96,6 +96,7 @@ SYSCTL_INT(_kern_ipc, KIPC_NMBCLUSTERS, 
+>  	   &nmbclusters, 0, "Maximum number of mbuf clusters available");
+>  SYSCTL_INT(_kern_ipc, OID_AUTO, nmbufs, CTLFLAG_RD, &nmbufs, 0,
+>  	   "Maximum number of mbufs available"); 
+> +#if MBUF_STRESS_TEST
+>  SYSCTL_INT(_kern_ipc, OID_AUTO, m_defragpackets, CTLFLAG_RD,
+>  	   &m_defragpackets, 0, "");
+>  SYSCTL_INT(_kern_ipc, OID_AUTO, m_defragbytes, CTLFLAG_RD,

s/#if/#ifdef/ ?

-- 
Pawel Jakub Dawidek                       pawel at dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030623/acd884d2/attachment.bin


More information about the cvs-src mailing list