Date: Fri, 16 Jan 2004 23:27:00 +0100 From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) To: "Brian F. Feldman" <green@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_descrip.c Message-ID: <xzpsmifr0ln.fsf@dwp.des.no> In-Reply-To: <200401162226.i0GMQ1qN015197@green.bikeshed.org> (Brian F. Feldman's message of "Fri, 16 Jan 2004 17:26:01 -0500") References: <200401162226.i0GMQ1qN015197@green.bikeshed.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Brian F. Feldman" <green@FreeBSD.org> writes: > I don't see a reason "newfdp" needs to be locked, since it is not > referenced by anything yet. If "fdp" alone is locked, that is > sufficient to ensure they will both be consistent. It needs to be locked because it is passed to functions which assert that it is locked. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpsmifr0ln.fsf>