cvs commit: src/sys/kern kern_kinfo.c

Simon Schubert corecode at crater.dragonflybsd.org
Thu Feb 15 18:20:24 PST 2007


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





More information about the Commits mailing list