summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_mbr.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-03-24 10:56:11 +0000
committerjeff <jeff@FreeBSD.org>2002-03-24 10:56:11 +0000
commita3880e122dd1dd267a3b5bc6631cb86b52f184ab (patch)
tree9e3d1f9ce54e63587400ab68abd79f9ae5d599d8 /sys/geom/geom_mbr.c
parent985de052a17bb4ce137b2f0c6c3e2762dba830bd (diff)
downloadFreeBSD-src-a3880e122dd1dd267a3b5bc6631cb86b52f184ab.zip
FreeBSD-src-a3880e122dd1dd267a3b5bc6631cb86b52f184ab.tar.gz
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
Diffstat (limited to 'sys/geom/geom_mbr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud