kernel - Fix vmtotal sysctl
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 5 Oct 2010 23:07:32 +0000 (16:07 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 5 Oct 2010 23:41:48 +0000 (16:41 -0700)
commit7b5a2bb58f5a8a8d9dcf875f52bcd265af2f51dc
tree8d291a1c26cf6a720f2f1a7ac5dc8b34ff8c8f88
parent42b6418c7e9fc5747765cd77c8802dec5d0713da
kernel - Fix vmtotal sysctl

* Recognize unbounded VM objects and do not try to include their sizes
  in the vmtotal structure.

* Should fix systat -vm output for the All/Tot entry.

* Redo the vmstat structure.  Use long's and int64_t's as
  appropriate.

* Adjust systat and vmstat to deal with the new field widths
  in struct vmstat.

Reported-by: Antonio Huete Jimenez <ahuete.devel@gmail.com>
sys/sys/vmmeter.h
sys/vm/vm_meter.c
usr.bin/systat/vmstat.c
usr.bin/vmstat/vmstat.c