John-Mark Gurney ad3b9257c2 Add locking to the kqueue subsystem. This also makes the kqueue subsystem
a more complete subsystem, and removes the knowlege of how things are
implemented from the drivers.  Include locking around filter ops, so a
module like aio will know when not to be unloaded if there are outstanding
knotes using it's filter ops.

Currently, it uses the MTX_DUPOK even though it is not always safe to
aquire duplicate locks.  Witness currently doesn't support the ability
to discover if a dup lock is ok (in some cases).

Reviewed by:	green, rwatson (both earlier versions)
2004-08-15 06:24:42 +00:00
..
2004-06-14 00:38:54 +00:00
2004-08-13 06:22:35 +00:00
2004-07-28 06:59:55 +00:00
2004-07-28 06:59:55 +00:00
2004-08-05 13:01:29 +00:00
2004-08-14 18:57:41 +00:00