DragonFly BSD
DragonFly commits List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Fix vmtotal sysctl


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Oct 2010 16:42:14 -0700 (PDT)

commit 7b5a2bb58f5a8a8d9dcf875f52bcd265af2f51dc
Author: Matthew Dillon <dillon@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]