summaryrefslogtreecommitdiffstats
path: root/lib/libmemstat/memstat_uma.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-07-14 16:13:46 +0000
committerrwatson <rwatson@FreeBSD.org>2005-07-14 16:13:46 +0000
commit3f3682a4b8127f60b990369e0ebc8c393c18c4cc (patch)
treebaada83799cca597b6257313d5f4403566db6a81 /lib/libmemstat/memstat_uma.c
parent07353f37ea1452850bfba73169fd266401ed9d4d (diff)
downloadFreeBSD-src-3f3682a4b8127f60b990369e0ebc8c393c18c4cc.zip
FreeBSD-src-3f3682a4b8127f60b990369e0ebc8c393c18c4cc.tar.gz
In an earlier world order, UMA would flush per-CPU statistics to the
zone whenever it was moving buckets between the zone and the cache, or when coalescing statistics across the CPU. Remove flushing of statistics to the zone when coalescing statistics as part of sysctl, as we won't be running on the right CPU to write to the cache statistics. Add a missed gathering of statistics: when uma_zalloc_internal() does a special case allocation of a single item, make sure to update the zone statistics to represent this. Previously this case wasn't accounted for in user-visible statistics. MFC after: 1 week
Diffstat (limited to 'lib/libmemstat/memstat_uma.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud