Joseph Koshy 382d30cdd8 Fix witness(4) warnings about mutex use.
Group mutexes used in hwpmc(4) into 3 "types" in the sense of
witness(4):

 - leaf spin mutexes---only one of these should be held at a time,
   so these mutexes are specified as belonging to a single witness
   type "pmc-leaf".

 - `struct pmc_owner' descriptors are protected by a spin mutex of
   witness type "pmc-owner-proc".  Since we call wakeup_one() while
   holding these mutexes, the witness type of these mutexes needs
   to dominate that of "sleepq chain" mutexes.

 - logger threads use a sleep mutex, of type "pmc-sleep".

Submitted by:	wkoszek (earlier patch)
2007-04-19 08:02:51 +00:00
..
2007-04-02 19:09:06 +00:00
2007-02-23 19:27:49 +00:00
2006-11-29 08:05:55 +00:00
2007-03-21 03:42:51 +00:00
2007-02-23 19:34:52 +00:00
2007-04-06 11:21:01 +00:00
2007-03-11 15:20:04 +00:00
2006-11-06 17:43:10 +00:00
2007-03-11 22:43:35 +00:00
2007-03-21 03:42:51 +00:00
2007-03-23 22:48:44 +00:00
2007-03-21 03:42:51 +00:00