Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2000 08:39:33 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/i386/include mutex.h
Message-ID:  <XFMail.001212083933.jhb@FreeBSD.org>
In-Reply-To: <200012120349.eBC3nx527131@freefall.freebsd.org>

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

On 12-Dec-00 John Baldwin wrote:
> jhb         2000/12/11 19:49:59 PST
> 
>   Modified files:
>     sys/i386/include     mutex.h 
>   Log:
>   Fix the assembly mutex macros to call the appropriate witness functions if
>   the witness code is compiled in.  Without this, the witness code doesn't
>   notice that sched_lock is released by fork_trampoline() and thus gets all
>   confused about spin lock order later on.

Similar work needs to be done on the alpha and ia64 as well.  Right now
fork_trampoline() is the only case this kicks in, but the light weight context
switches will rely on this even more.

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


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




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