From owner-freebsd-arch@FreeBSD.ORG Wed May 23 23:34:00 2007 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B539616A46C for ; Wed, 23 May 2007 23:34:00 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 809E413C465 for ; Wed, 23 May 2007 23:34:00 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l4NNXvYB028738 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Wed, 23 May 2007 19:33:58 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Wed, 23 May 2007 16:33:50 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Marcel Moolenaar In-Reply-To: <6A9BD12D-D93C-4AE8-B4F4-D59A0327032D@mac.com> Message-ID: <20070523163109.X9443@10.0.0.1> References: <20070520155103.K632@10.0.0.1> <20070523155236.U9443@10.0.0.1> <6A9BD12D-D93C-4AE8-B4F4-D59A0327032D@mac.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: arch@freebsd.org Subject: Re: sched_lock && thread_lock() X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 23:34:00 -0000 On Wed, 23 May 2007, Marcel Moolenaar wrote: > > On May 23, 2007, at 3:56 PM, Jeff Roberson wrote: > >> Resuming the original intent of this thread; >> >> http://www.chesapeake.net/~jroberson/threadlock.diff Woops! people.freebsd.org/~jeff/threadlock.diff > > 404 Not Found. > > The old patch was missing PowerPC & ia64. Will the final version > include those as well? There are a couple of uses of the global scheduler lock in some architecture specific locations. They will continue to be safe with the 4BSD scheduler. I intended to work on these issues with the architecture maintainers after the threadlock patch goes in. Can you suggest some alternative to sched_lock for pmap_switch in ia64? There are a couple of these small issues that should be perfectly safe that I was hoping to address outside of this patch so that it didn't get too big. Jeff > > -- > Marcel Moolenaar > xcllnt@mac.com > >