Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 23:30:24 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Scott Long <scottl@samsco.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>, cvs-all@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern kern_intr.c subr_sleepqueue.c src/sys/geom geom_io.c src/sys/sys proc.h 
Message-ID:  <7524.1126819824@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 15 Sep 2005 15:27:21 MDT." <4329E739.4070707@samsco.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <4329E739.4070707@samsco.org>, Scott Long writes:

>Well, there is a subtle distinction here that isn't well understood. 
>Sleep mutexes "block", they don't "sleep". 

A good rule of thumb is that userland won't get to run while mutexes are
held, whereas userland may run while a thread is sleeping.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7524.1126819824>