From owner-freebsd-hackers Thu Jun 24 22:57:30 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 5BEDD14C07 for ; Thu, 24 Jun 1999 22:57:27 -0700 (PDT) (envelope-from julian@whistle.com) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with SMTP id WAA08976; Thu, 24 Jun 1999 22:56:08 -0700 (PDT) Date: Thu, 24 Jun 1999 22:56:07 -0700 (PDT) From: Julian Elischer To: Chuck Robey Cc: "David E. Cross" , Alfred Perlstein , Karl Denninger , "Brian F. Feldman" , Doug , Mark Newton , drosih@rpi.edu, grog@lemis.com, mike@smith.net.au, hackers@FreeBSD.ORG Subject: Re: Microsoft performance (was: ...) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alan Cox has just started passing around some code that starts on the breakdown of the GKL I suggest that all intersted parties go to the SMP list if they wish to take part in this action. On Thu, 24 Jun 1999, Chuck Robey wrote: > On Thu, 24 Jun 1999, David E. Cross wrote: > > > I think mutex is the way to go. I am 100% for it, and I think now that this > > problem is getting a good deal of light we should start to do something about > > it. > > > > One of the problems with locks that doesn't seem to have been mentioned > > (although I am sure many have thought it) is deadlocks. You get A waiting > > for B and b with A. With mutexi (plural?) you would lock just the resource > > that you are curently working on, and you would be guaranteed to release it > > (if the programmers do it right, of course ;). The advantage is with Mutex > > is that you don't need to be as omnipotent to use it. > > Did you forget the fact that in order to remove a giant lock set up, so > that you go one step, or multiple steps, below that, the locks below the > giant lock must ALL be there, no mistakes or omissions allowed. > > It's well worth doing, but it's not a deal like adding just one lock, no > sir! > > ----------------------------+----------------------------------------------- > Chuck Robey | Interests include any kind of voice or data > chuckr@picnic.mat.net | communications topic, C programming, and Unix. > 213 Lakeside Drive Apt T-1 | > Greenbelt, MD 20770 | I run picnic and jaunt, both FreeBSD-current. > (301) 220-2114 | > ----------------------------+----------------------------------------------- > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message