cvs commit: src/sys/kern kern_kinfo.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed May 23 22:47:13 PDT 2007
dillon 2007/05/23 22:45:45 PDT
DragonFly src repository
Modified files:
sys/kern kern_kinfo.c
Log:
Fix the kinfo run/sleep state for pure kernel threads. This effects /bin/ps
and so forth. A pure kernel thread can deschedule itself without having
to set td_wchan[], so use its presence on the LWKT run queue to determine
whether it is running or not.
Revision Changes Path
1.12 +3 -3 src/sys/kern/kern_kinfo.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_kinfo.c.diff?r1=1.11&r2=1.12&f=u
More information about the Commits
mailing list