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

cvs commit: src/sys/kern kern_kinfo.c


From: Simon Schubert <corecode@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Feb 2007 18:15:25 -0800 (PST)

corecode    2007/02/15 18:15:25 PST

DragonFly src repository

  Modified files:
    sys/kern             kern_kinfo.c 
  Log:
  Fix RSS display by calculating the correct value.
  
  For some reason vmspace->vm_rssize is always zero, so we have to
  "calculate" the value via vmspace_resident_count(), which actually
  accesses the vmspace's pmap resident count.
  
  Reported-by: victor@
  
  Revision  Changes    Path
  1.6       +1 -1      src/sys/kern/kern_kinfo.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_kinfo.c.diff?r1=1.5&r2=1.6&f=u



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