kernel - Report zalloc statistics more accurately
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 6 Oct 2013 23:40:59 +0000 (16:40 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 6 Oct 2013 23:40:59 +0000 (16:40 -0700)
commit140fa02824c5d858f0e4017f65a030fb63c2ed1f
tree015705f5782c526526b624c10c55be8151341be7
parent8e2efb11e5cbf92f0ed06258cbd1f6bfc684e5c8
kernel - Report zalloc statistics more accurately

* The sysctl proc now subtracts out zalloc objects cached in per-cpu lists.
  A substantial number of objects can be cached on per-cpu lists (up to 1/16
  the zone's maximum in aggregate).

* Thus vmstat -z now reports more accurate numbers.
sys/vm/vm_zone.c