cvs commit: src/sys/kern kern_proc.c kern_synch.c lwkt_msgport.c src/sys/sys thread.h src/bin/ps print.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 10 15:12:14 PDT 2004


dillon      2004/06/10 15:11:39 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_proc.c kern_synch.c lwkt_msgport.c 
    sys/sys              thread.h 
    bin/ps               print.c 
  Log:
  Both 'ps' and the loadav calculations got broken by thread sleeps, which
  occur without knowledge by the proc and so ps/loadav thought processes
  sitting in e.g. accept() were in a 'R'un state when they were actually
  sleeping.
  
  Make ps and the loadav calculator thread-aware.
  
  Revision  Changes    Path
  1.15      +15 -0     src/sys/kern/kern_proc.c
  1.33      +15 -4     src/sys/kern/kern_synch.c
  1.24      +7 -0      src/sys/kern/lwkt_msgport.c
  1.53      +1 -0      src/sys/sys/thread.h
  1.11      +2 -0      src/bin/ps/print.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_proc.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_msgport.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread.h.diff?r1=1.52&r2=1.53&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/ps/print.c.diff?r1=1.10&r2=1.11&f=u





More information about the Commits mailing list