From owner-freebsd-current Mon Mar 18 6:54:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from green.bikeshed.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3664D37B417; Mon, 18 Mar 2002 06:54:18 -0800 (PST) Received: from localhost (green@localhost) by green.bikeshed.org (8.11.6/8.11.6) with ESMTP id g2IEsHE88877; Mon, 18 Mar 2002 09:54:17 -0500 (EST) (envelope-from green@green.bikeshed.org) Message-Id: <200203181454.g2IEsHE88877@green.bikeshed.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Matthew Dillon Cc: Hiten Pandya , current@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, tanimura@r.dl.itc.u-tokyo.ac.jp Subject: Re: cvs commit: src/sys/kern kern_mtxpool.c src/sys/sys kernel.h src/sys/vm vm_fault.c vm_glue.c vm_map.c vm_map.h vm_pageout.c vm_zone.c In-Reply-To: Your message of "Sun, 17 Mar 2002 16:48:24 PST." <200203180048.g2I0mOc40231@apollo.backplane.com> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 18 Mar 2002 09:54:17 -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon wrote: > > : > :Hi, > : > :Sorry to unwantedly butt in, but the patch supplied by Seigo actually > :solved the vm_map.c locking problems which used to come up on my system. > :Just some info. :) > : > :Regards, > : > : -- Hiten Pandya > : -- > > It fixed some things, it broke some things. Pretty much standard > fare for anyone who has ever done work on the vm_map lock, including > yours truely. John Dyson couldn't get it right, David Greenman couldn't > get it right, I couldn't get it completely right... getting it to do > the right thing even under -stable is difficult, which is why I am > suggesting that it simply be made into an exclusive lock in -current. In addition to the fact it doesn't actually serialize the general modification of the vm_map {} structure itself, just certain kinds of changes, so is easily a primary reason that the VM system as it stands now is inherently single-threaded. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org <> bfeldman@tislabs.com \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message