Date: Wed, 13 Dec 2000 00:18:36 -0500 (EST) From: Bosko Milekic <bmilekic@technokratis.com> To: Bosko Milekic <bmilekic@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys mbuf.h Message-ID: <Pine.BSF.4.21.0012130018110.23785-100000@jehovah.technokratis.com> In-Reply-To: <200012130513.eBD5D4s83055@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Sincere appologies, should have also said: Reported By: alfred On Tue, 12 Dec 2000, Bosko Milekic wrote: > bmilekic 2000/12/12 21:13:03 PST > > Modified files: > sys/sys mbuf.h > Log: > Eliminate a race in MEXTFREE(). The reference counter decrement and test > was not atomic. We now make sure that we free the ext buf if the reference > count is about to reach 0 but also make sure that nobody else has done it > before us. > > While I'm here, change refcnt to u_int (from long). This fixes a compiler > warning regarding use of atomic_cmpset_long on i386. > > Submitted by: jasone > Reviewed by: jlemon, jake > > Revision Changes Path > 1.65 +17 -12 src/sys/sys/mbuf.h > > > Bosko Milekic bmilekic@technokratis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012130018110.23785-100000>