The LWP run/sleep state does not always match the actual state of the
commit3c5001b51dd4c42b6adc2b7d6b7ad395522c03ff
authordillon <dillon>
Wed, 1 Aug 2007 08:21:29 +0000 (1 08:21 +0000)
committerdillon <dillon>
Wed, 1 Aug 2007 08:21:29 +0000 (1 08:21 +0000)
tree2b23f6572103d12031598272685b3efb43adf879
parent41efe419f91adfb4b5d6eef0393c3de56a397c4b
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