Date: Thu, 15 Jan 2009 11:42:13 -0800 From: Kip Macy <mat.macy@gmail.com> To: John Baldwin <jhb@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, Kip Macy <kmacy@freebsd.org>, "svn-src-user@freebsd.org" <svn-src-user@freebsd.org> Subject: Re: svn commit: r186661 - user/kmacy/HEAD_fast_net/sys/kern Message-ID: <DAFFFC11-FF2E-4F87-9F60-0E6185855A83@gmail.com> In-Reply-To: <200901150959.53050.jhb@freebsd.org> References: <200812312321.mBVNL75E037897@svn.freebsd.org> <200901150959.53050.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DAFFFC11-FF2E-4F87-9F60-0E6185855A83>