Date: Tue, 6 Mar 2001 18:45:16 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mutex.c Message-ID: <200103070245.f272jGN69509@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/03/06 18:45:16 PST
Modified files:
sys/kern kern_mutex.c
Log:
- Add an extra check in priority_propagation() for UP systems to ensure we
don't end up back at ourselves which would indicate deadlock.
- Add the proc lock to the witness dup_list as we may hold more than one
process lock at a time.
- Don't assert a mutex is owned in _mtx_unlock_sleep() as that is too late.
We do the checks in the macros instead.
Revision Changes Path
1.56 +10 -2 src/sys/kern/kern_mutex.c
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?200103070245.f272jGN69509>
