Tracking acquisition wait time on x86 is very expensive. The following patch only looks at the time if the lock is contested so that we only pay the price for timekeeping if we are going to actually have to wait to acquire the lock. http://www.fsmware.com/freebsd/lock_prof.diff