Jeff Roberson f4af24d55d 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
2002-03-24 10:56:11 +00:00
..
2002-03-19 22:20:14 +00:00
2002-03-19 22:20:14 +00:00
2002-03-19 22:20:14 +00:00
2002-03-19 22:20:14 +00:00
2002-03-19 22:20:14 +00:00
2002-03-19 22:20:14 +00:00
2002-03-19 22:20:14 +00:00
2002-03-19 22:20:14 +00:00
2002-03-19 22:20:14 +00:00
2002-03-19 22:20:14 +00:00