FreeBSD/src 0f9b7bf (r340405)sys/vm uma_core.c uma_int.h

Add accounting to per-domain UMA full bucket caches.

In particular, track the current size of the cache and maintain an
estimate of its working set size.  This will be used to decide how
much to shrink various caches when the kernel attempts to reclaim
pages.  As a secondary effect, it makes statistics aggregation (done
by, e.g., vmstat -z) cheaper since sysctl_vm_zone_stats() no longer
needs to iterate over lists of cached buckets.

Discussed with: alc, glebius, jeff
Tested by:      pho (previous version)
MFC after:      1 month
Differential Revision:  https://reviews.freebsd.org/D16666
DeltaFile
+78-35sys/vm/uma_core.c
+6-1sys/vm/uma_int.h
+84-362 files

UnifiedSplitRaw