Date: Wed, 04 Oct 2000 19:21:40 -0700 From: Mike Smith <msmith@freebsd.org> To: Alfred Perlstein <bright@wintelcom.net> Cc: arch@FreeBSD.ORG Subject: Re: Mutexes and semaphores Message-ID: <200010050221.e952Leh01021@mass.osd.bsdi.com> In-Reply-To: Your message of "Wed, 04 Oct 2000 18:46:00 PDT." <20001004184559.Q27736@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> the idea is to reduce inter-cpu communication, lock-less systems are a > terrific idea but hard to get right, we have two choices: > > 1) do it right and _not_ cause extra lock/cpu/bus contention > 2) do it right and cause extra lock/cpu/bus contention > > It's my opinion that something simple like getpid shouldn't cause a > locked bus cycle if at all possible. Under the circumstances, there are so many other things that we should be worrying about that the trivial performance win here is entirely offset by the confusion and irritation that it may cause later if we violate the assumptions this code makes. -- ... 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?200010050221.e952Leh01021>