Date: Thu, 7 Aug 2008 23:27:00 +0200 From: Ed Schouten <ed@80386.nl> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man9 condvar.9 sleep.9 src/sys/kern kern_condvar.c kern_synch.c Message-ID: <20080807212700.GM99951@hoeg.nl> In-Reply-To: <200808072102.m77L2PSF021733@repoman.freebsd.org> References: <200808072102.m77L2PSF021733@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--CMebLzmeJATad/OR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * John Baldwin <jhb@FreeBSD.org> wrote: > Permit Giant to be passed as the explicit interlock either to > msleep/mtx_sleep or the various cv_*wait*() routines. Currently, the > "unlock" behavior of PDROP and cv_wait_unlock() with Giant is not > permitted as it is will be confusing since Giant is fully unrecursed and > unlocked during a thread sleep. >=20 > This is handy for subsystems which wish to allow unlocked drivers to > continue to use Giant such as CAM, the new TTY layer, and the new USB > stack. CAM currently uses a hack that I told Scott to use because I > really didn't want to permit this behavior, and the TTY and USB patches > both have various patches to permit this. Thanks a lot, John! As you mentioned, this was one of the things I needed in the MPSAFE TTY layer. I'll remove my evil hacks from the code in a sec. Yours, --=20 Ed Schouten <ed@80386.nl> WWW: http://80386.nl/ --CMebLzmeJATad/OR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkibaKQACgkQ52SDGA2eCwUReACfY59zw4Q+jAS8nVw1TQnWgfIh AM4An1vXZXYvbFof0b93HQCBoExyQmuJ =16ua -----END PGP SIGNATURE----- --CMebLzmeJATad/OR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080807212700.GM99951>