jhb e1d747891e Adjust td_locks for non-spin mutexes, rwlocks, and sx locks so that it is
a count of all non-spin locks, not just lockmgr locks.  This can give us a
much cheaper way to see if we have any locks held (such as when returning
to userland via userret()) without requiring WITNESS.

MFC after:	1 week
2006-07-27 21:45:55 +00:00
..
2006-07-13 06:32:55 +00:00
2006-07-14 17:55:36 +00:00
2005-12-04 02:12:43 +00:00
2006-06-30 08:10:55 +00:00
2006-07-17 21:00:42 +00:00
2006-05-28 22:15:28 +00:00
2006-07-13 06:32:55 +00:00