From owner-freebsd-current Tue Apr 24 9:14:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 0D74037B422 for ; Tue, 24 Apr 2001 09:14:41 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f3OGEVg07131; Tue, 24 Apr 2001 09:14:31 -0700 (PDT) Date: Tue, 24 Apr 2001 09:14:31 -0700 From: Alfred Perlstein To: Poul-Henning Kamp Cc: Garrett Wollman , current@FreeBSD.ORG Subject: Re: vm_mtx Message-ID: <20010424091431.J1790@fw.wintelcom.net> References: <200104241527.LAA95978@khavrinen.lcs.mit.edu> <59442.988126516@critter> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <59442.988126516@critter>; from phk@critter.freebsd.dk on Tue, Apr 24, 2001 at 05:35:16PM +0200 X-all-your-base: are belong to us. Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Poul-Henning Kamp [010424 08:36] wrote: > In message <200104241527.LAA95978@khavrinen.lcs.mit.edu>, Garrett Wollman write > s: > >< said: > > > >> You can find the work I've done so far to make a giant vm mutex > >> here: > > > >The Mach code we originally inherited was supposed to already by > >multiprocessor safe. Did we manage to eliminate that capability? > > I'm sure you are fully aware of the implications of the strategically > placed "supposed" in your own sentence. I have never heard anybody > get Mach code multithreaded yet. It's not just that, looking at the old code it doesn't seem to deal very well actually performing the IO, there's also other issues that Alan Cox and Matt Dillon explained to me where in certain locations vm_object lists are traversed in forward and reverse order, this causes a lock order problem, it could be fixed by possibly sharing a lock across object chains, but for now moving to a giant lock is still a step in the right direction because as I've mentioned, with everything still under Giant we've still got decent performance. -- -Alfred Perlstein - [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message