svn commit: r186661 - user/kmacy/HEAD_fast_net/sys/kern

John Baldwin jhb at freebsd.org
Thu Jan 15 07:46:18 PST 2009


On Wednesday 31 December 2008 6:21:07 pm Kip Macy wrote:
> Author: kmacy
> Date: Wed Dec 31 23:21:07 2008
> New Revision: 186661
> URL: http://svn.freebsd.org/changeset/base/186661
>
> Log:
>   make it possible to profile normal mutex acquisition by not calling
> knlist_mtx_lock

Alternatively, you could pass LOCK_FILE and LOCK_LINE (sys/lock.h) to kl_lock, 
etc. and have knlist_mtx_lock use the private version that takes file and 
line.

This would also make it work for all lock types.

-- 
John Baldwin


More information about the svn-src-user mailing list