disk wait mystery

Brett Wynkoop wynkoop at wynn.com
Thu Jan 31 16:19:27 UTC 2013


On Thu, 31 Jan 2013 08:55:41 -0700
Ian Lepore <ian at freebsd.org> wrote:


> >From a glance at the code, I think this state would be reported for
> >any
> userland thread that's sleeping in a driver that called one of the
> sleep(9) family functions without the PCATCH flag which allows signals
> to interrput the sleep so they can be delivered to userland.  For
> kernel threads I think the PCATCH part is moot and it's just a thread
> in a "short" sleep (for some definition of short).
> 

Greeting-

Reading this makes all clear to a simple sys admin like me.  So I now
think the man page should read DEVICE WAIT instead of DISK
WAIT.......who know all these years diskwait in ps was not diskwait.

I can go back to bed now.  I already learned something today!

-Brett

-- 

wynkoop at wynn.com               http://prd4.wynn.com/wynkoop/pgp-keys.txt
917-642-6925
718-717-5435

"The strongest reason for the people to retain the right to keep 
and bear arms is, as a last resort, to protect themselves against 
tyranny in government" - Thomas Jefferson. 


More information about the freebsd-arm mailing list