From owner-freebsd-arch@FreeBSD.ORG Wed Mar 16 01:43:50 2005 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 402A116A4CE; Wed, 16 Mar 2005 01:43:50 +0000 (GMT) Received: from daintree.corp.yahoo.com (daintree.corp.yahoo.com [216.145.52.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D26343D54; Wed, 16 Mar 2005 01:43:50 +0000 (GMT) (envelope-from peter@wemm.org) Received: by daintree.corp.yahoo.com (Postfix, from userid 2154) id 20BFD197AC; Tue, 15 Mar 2005 17:43:50 -0800 (PST) From: Peter Wemm To: freebsd-arch@freebsd.org Date: Tue, 15 Mar 2005 17:43:49 -0800 User-Agent: KMail/1.7.2 References: <20050303074242.GA14699@VARK.MIT.EDU> <200503030954.08271.jhb@FreeBSD.org> <20050303153505.GA16964@VARK.MIT.EDU> In-Reply-To: <20050303153505.GA16964@VARK.MIT.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503151743.49851.peter@wemm.org> cc: David Schultz Subject: Re: Removing kernel thread stack swapping X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2005 01:43:50 -0000 On Thursday 03 March 2005 07:35 am, David Schultz wrote: > On Thu, Mar 03, 2005, John Baldwin wrote: [..] > > Hence, don't kill this whole feature just because someone is too > > lazy to fix a bug. > > Fair enough. I'll defer to you on the extent of the problem. > David seemed to think that it was more widespread. (BTW, does > *anyone* know what the PHOLD() in kern_physio is for? Is it a > holdover from when the PCB was in struct user?) I've wondered about this myself in the past. I went looking once and discovered that it never did anything that I could find. I believe it is a case of 'because it was always done that way' or because the pseudocode in the Bach or bsd books had it. There is certainly no functional need for it in FreeBSD. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5