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

Kip Macy mat.macy at gmail.com
Thu Jan 15 11:42:18 PST 2009


That would require changing all callers - ultimately a better  
solution, but more than I wanted to do at the time.

On Jan 15, 2009, at 6:59, John Baldwin <jhb at freebsd.org> wrote:

> 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