Acquiring a mtx after an sx lock

Ed Maste emaste at freebsd.org
Mon Aug 18 16:46:13 UTC 2008


On Mon, Aug 18, 2008 at 12:02:56PM -0400, Ryan Stone wrote:

> On Mon, Aug 18, 2008 at 11:54 AM, Max Laier <max at love2party.net> wrote:
> 
> > On Monday 18 August 2008 17:14:01 Ryan Stone wrote:
> > > Are there any problems acquiring a sleep mutex after acquiring an sx
> > lock?
> > > man 9 locking says that you can't, but doesn't provide any reasons.
> > [...]
> >
> > Where does it say so?  The interaction table clearly shows: [...]

Ahh, it seems ups' commit of rmlocks changed the "You have: sx_lock,
You want: Slp_mtx" case from no to ok (in r173444).

-Ed


More information about the freebsd-hackers mailing list