lock_initalized

Matt Benjamin matt at linuxbox.com
Sun Aug 17 16:12:52 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi all,

After tracking down what I think may be a spurious panic on 8.0-CURRENT,
I wanted to ask:

a. shouldn't this be, lock_initialized?
b. is it safe to kassert the flag bit is unset on entry to
mtx_init--seems this means caller has to null mtx before calling
mtx_init (the initializer)

Thanks,

Matt

- --

Matt Benjamin

The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel. 734-761-4689
fax. 734-769-8938
cel. 734-216-5309

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIqEtvJiSUUSaRdSURCB6HAKCG4Evj8QM3Gp/58zwZVNKkTPZUGACfS/2u
N/S2klXrn4X8+2rFlmn9pEU=
=1s2v
-----END PGP SIGNATURE-----


More information about the freebsd-current mailing list