git: kernel - Fix vmtotal sysctl
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Tue Oct  5 16:43:01 PDT 2010
    
    
  
commit 7b5a2bb58f5a8a8d9dcf875f52bcd265af2f51dc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Oct 5 16:07:32 2010 -0700
    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 at gmail.com>
Summary of changes:
 sys/sys/vmmeter.h       |   28 ++++++++--------
 sys/vm/vm_meter.c       |   14 +++++++-
 usr.bin/systat/vmstat.c |   84 ++++++++++++++++++++++++-----------------------
 usr.bin/vmstat/vmstat.c |   52 ++++++++++++++++-------------
 4 files changed, 99 insertions(+), 79 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b5a2bb58f5a8a8d9dcf875f52bcd265af2f51dc
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list