ru          2006-11-28 12:46:02 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              vmmeter.h 
    release/picobsd/tinyware/vm vm.c 
    sbin/sysctl          sysctl.c 
    usr.bin/systat       vmstat.c 
    usr.bin/vmstat       vmstat.c 
  Log:
  - Revert signedness type changes to "struct vmtotal"; by making
    them unsigned I made the possible overflows hard to detect,
    and it only saved 1 bit which isn't principal, even less now
    that the underlying issue with the total of virtual memory has
    been fixed.  (For the record, it will overflow with >=2T of
    VM total, with 32-bit ints used to keep counters in pages.)
  
  - While here, fix printing of other "struct vmtotal" members
    such as t_rq, t_dw, t_pw, and t_sw as they are also signed.
  
  Reviewed by:    bde
  MFC after:      3 days
  
  Revision  Changes    Path
  1.10      +8 -12     src/release/picobsd/tinyware/vm/vm.c
  1.80      +11 -15    src/sbin/sysctl/sysctl.c
  1.28      +14 -14    src/sys/sys/vmmeter.h
  1.83      +19 -86    src/usr.bin/systat/vmstat.c
  1.97      +3 -4      src/usr.bin/vmstat/vmstat.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to