Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 09:59:52 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Kip Macy <kmacy@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   Re: svn commit: r186661 - user/kmacy/HEAD_fast_net/sys/kern
Message-ID:  <200901150959.53050.jhb@freebsd.org>
In-Reply-To: <200812312321.mBVNL75E037897@svn.freebsd.org>
References:  <200812312321.mBVNL75E037897@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901150959.53050.jhb>