Date: Tue, 01 Jan 2002 12:48:34 -0800 From: Mike Smith <msmith@freebsd.org> To: Bernd Walter <ticso@cicely8.cicely.de> Cc: Michal Mertl <mime@traveller.cz>, Matthew Dillon <dillon@apollo.backplane.com>, arch@FreeBSD.ORG Subject: Re: When to use atomic_ functions? (was: 64 bit counters) Message-ID: <200201012048.g01KmYr01192@mass.dis.org> In-Reply-To: Your message of "Tue, 01 Jan 2002 10:08:23 %2B0100." <20020101100822.B96092@cicely8.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> MBs are not needed for the variable itself, but they are making this > family of functions very expensive. > It's not very wise to handle counters with atomic_ functions unless > the need to have MBs in them is not removed. It's imperative to use atomic operations for counters on SMP systems. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201012048.g01KmYr01192>