On 28.10.2012 21:07, Gleb Smirnoff wrote:
On Sun, Oct 28, 2012 at 06:07:34PM +, Andre Oppermann wrote:
A> @@ -296,8 +297,8 @@ syncache_destroy(void)
A> mtx_destroy(&sch->sch_mtx);
A> }
A>
A> - KASSERT(V_tcp_syncache.cache_count == 0, ("%s: cache_count %d not 0",
A> - __func__,
On Sun, Oct 28, 2012 at 06:07:34PM +, Andre Oppermann wrote:
A> @@ -296,8 +297,8 @@ syncache_destroy(void)
A> mtx_destroy(&sch->sch_mtx);
A> }
A>
A> -KASSERT(V_tcp_syncache.cache_count == 0, ("%s: cache_count %d not 0",
A> -__func__, V_tcp_syncache.cache_count));
Author: andre
Date: Sun Oct 28 18:07:34 2012
New Revision: 242254
URL: http://svn.freebsd.org/changeset/base/242254
Log:
Change the syncache count reporting the current number of entries
from an unprotected u_int that reports garbage on SMP to a function
based sysctl obtaining the current va