Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 14:43:24 -0700 (PDT)
From:      John Baldwin <jhb@pike.osd.bsdi.com>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        alpha@freebsd.org
Subject:   Re: Mutex's aren't recursing
Message-ID:  <200009122143.OAA08606@pike.osd.bsdi.com>
In-Reply-To: <Pine.BSF.4.21.0009122128540.86297-100000@salmon.nlsystems.com> from Doug Rabson at "Sep 12, 2000 09:32:23 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

Doug Rabson wrote:
> I sent you some mail yesterday about this. I got the constraints wrong for
> the inline assembler in atomic_cmpset. I disassembled some of the code in
> interrupt.c which is trying to enter the mutex. You can clearly see that
> it is misusing t1 as both an input and output to the inline.

Thanks!  I'll try this out.  Also, I just discovered that swtch.s didn't import
sched_lock, so cpu_switch was modifying a private copy of sched_lock instead
of the global variable (I think).  I'll have some feedback on this in just a
sec.

-- 

John Baldwin <jhb@bsdi.com> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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