Date: Sun, 24 Mar 2002 02:56:11 -0800 (PST) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma_core.c Message-ID: <200203241056.g2OAuBM88985@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2002/03/24 02:56:11 PST
Modified files:
sys/vm uma_core.c
Log:
Reset the cachefree statistics after draining the cache. This fixes a bug
where a sysctl within 20 seconds of a cache_drain could yield negative "USED"
counts.
Also, grab the uma_mtx while in the sysctl handler. This hadn't caused
problems yet because Giant is held all the time.
Reported by: kkenn
Revision Changes Path
1.3 +4 -0 src/sys/vm/uma_core.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203241056.g2OAuBM88985>
