From owner-cvs-all@FreeBSD.ORG Sun Aug 22 05:02:03 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C52616A511; Sun, 22 Aug 2004 05:02:03 +0000 (GMT) Received: from green.homeunix.org (pcp04371970pcs.nrockv01.md.comcast.net [69.140.223.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BD1243D1F; Sun, 22 Aug 2004 05:02:03 +0000 (GMT) (envelope-from green@green.homeunix.org) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.13.1/8.13.1) with ESMTP id i7M51t2m001030; Sun, 22 Aug 2004 01:01:55 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.13.1/8.13.1/Submit) id i7M51t2M001029; Sun, 22 Aug 2004 01:01:55 -0400 (EDT) (envelope-from green) Date: Sun, 22 Aug 2004 01:01:55 -0400 From: Brian Fundakowski Feldman To: Alan Cox Message-ID: <20040822050155.GA1007@green.homeunix.org> References: <20040822041018.GA937@green.homeunix.org> <20040822044936.GJ9106@cs.rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040822044936.GJ9106@cs.rice.edu> User-Agent: Mutt/1.5.6i cc: Alan Cox cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Robert Watson cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_fault.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Aug 2004 05:02:03 -0000 On Sat, Aug 21, 2004 at 11:49:36PM -0500, Alan Cox wrote: > On Sun, Aug 22, 2004 at 12:18:49AM -0400, Robert Watson wrote: > > > > On Sun, 22 Aug 2004, Brian Fundakowski Feldman wrote: > > > > > Also, it was the system_map lock, so it was a mutex, not an sx. > > > > > > /Goes back to trying to figure out wtf portupgrade -rR kde\* keeps > > > causing > > > hangs, but only in X, not at the command line, and not seemingly > > > dependant on AGP/X driver. > > > > I believe mutexes are alright also as long as you're careful about > > sleeping and lock order. I.e., don't sleep while holding a > > non-funnel-like mutex, etc. > > > > We should never page fault on a system map. If that happens to you, > it indicates an error. (In-kernel maps on which we do page fault, > such as the pipe submap, are treated the same as user maps and utilize > an sx lock.) vm_fault vm_fault_wire vm_map_wire kmem_alloc vm_ksubmap_init cpu_startup mi_startup -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\