The LWP run/sleep state does not always match the actual state of the
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 1 Aug 2007 08:21:29 +0000 (08:21 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 1 Aug 2007 08:21:29 +0000 (08:21 +0000)
commite682f1ff26a149efcf40b2f02a04d79669b35e1c
tree9cb2a9fabc93f871071a9677efe5f4d1b8b853bb
parentdb5e092660b42084944ab3875de7e25d582ca085
The LWP run/sleep state does not always match the actual state of the
thread when the thread is directly descheduled by the kernel.  Add some
logic so the state reported to 'ps' is correct.
sys/kern/kern_kinfo.c