Date: Sun, 17 Aug 2008 12:01:51 -0400 From: Matt Benjamin <matt@linuxbox.com> To: freebsd-current@freebsd.org Subject: lock_initalized Message-ID: <48A84B6F.3090409@linuxbox.com>
next in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48A84B6F.3090409>