git: kernel - Fix vmtotal sysctl

看板DFBSD_commit作者時間15年前 (2010/10/06 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CgxnNtf (DFBSD_commit)