Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2007 02:50:13 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 126497 for review
Message-ID:  <200709170250.l8H2oD0o010793@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=126497

Change 126497 by kmacy@kmacy_home:ethng on 2007/09/17 02:50:04

	add MINCLSIZE so that users can reduce the system's propensity
	to put data into the mbuf as freeing an mbuf that has left the cache 
	is expensive as a result of the following:
	
	
	static void
	mb_dtor_mbuf(void *mem, int size, void *arg)
	{
		struct mbuf *m;
	
		m = (struct mbuf *)mem;
		if ((m->m_flags & M_PKTHDR) != 0)       <- have to touch the mbuf
			m_tag_delete_chain(m, NULL);
	
	...
	eventually this should be a sysctl

Affected files ...

.. //depot/projects/ethng/src/sys/conf/options#4 edit

Differences ...

==== //depot/projects/ethng/src/sys/conf/options#4 (text+ko) ====

@@ -535,6 +535,7 @@
 INVARIANT_SUPPORT	opt_global.h
 INVARIANTS		opt_global.h
 MCLSHIFT		opt_global.h
+MINCLSIZE		opt_global.h
 MUTEX_DEBUG		opt_global.h
 MUTEX_NOINLINE		opt_global.h
 LOCK_PROFILING		opt_global.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709170250.l8H2oD0o010793>