Date: Tue, 29 May 2007 19:34:32 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sx.c Message-ID: <200705291934.l4TJYWVt048172@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2007-05-29 19:34:32 UTC FreeBSD src repository Modified files: sys/kern kern_sx.c Log: Add a small fix for lock profiling in sx locks. "0" cannot be a correct value since when the function is entered at least one shared holder must be present and since we want the last one "1" is the correct value. Note that lock_profiling for sx locks is far from being perfect. Expect further fixes for that. Approved by: jeff (mentor) Revision Changes Path 1.51 +1 -1 src/sys/kern/kern_sx.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705291934.l4TJYWVt048172>