* John Baldwin <[EMAIL PROTECTED]> 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. > > 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, -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://80386.nl/
pgp6Vl5R92Pfl.pgp
Description: PGP signature
