Date: Sun, 9 Oct 2005 04:30:32 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mutex.c Message-ID: <200510090430.j994UWZC034104@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2005-10-09 04:30:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_mutex.c Log: MFC (by jhb) | - Add an assertion to panic if one tries to call mtx_trylock() on a spin | mutex. | - Don't panic if a spin lock is held too long inside _mtx_lock_spin() if | panicstr is set (meaning that we are already in a panic). Just keep | spinning forever instead. | | Revision Changes Path | 1.157 +4 -1 src/sys/kern/kern_mutex.c Approved by: re (scottl) Revision Changes Path 1.154.2.3 +4 -1 src/sys/kern/kern_mutex.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510090430.j994UWZC034104>