From owner-cvs-all@FreeBSD.ORG Fri Mar 4 23:47:48 2005 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 1B1F516A4CE; Fri, 4 Mar 2005 23:47:48 +0000 (GMT) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEA1543D49; Fri, 4 Mar 2005 23:47:47 +0000 (GMT) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.13.3/8.13.1) with ESMTP id j24Nl4Kj041062; Fri, 4 Mar 2005 18:47:04 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.13.3/8.13.1/Submit) id j24Nl43c041061; Fri, 4 Mar 2005 18:47:04 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Fri, 4 Mar 2005 18:47:04 -0500 From: David Schultz To: Peter Jeremy Message-ID: <20050304234704.GA41005@VARK.MIT.EDU> Mail-Followup-To: Peter Jeremy , Julian Elischer , src-committers@FreeBSD.ORG, cvs-src@FreeBSD.ORG, cvs-all@FreeBSD.ORG References: <4226446B.7020406@freebsd.org> <61ac46c154aa515a692308440dd1141d@FreeBSD.org> <422710DD.1070203@freebsd.org> <422719E0.10703@samsco.org> <42279B6D.1000005@freebsd.org> <20050304182629.GA39457@VARK.MIT.EDU> <4228AB27.3020204@samsco.org> <4228B504.7000302@elischer.org> <20050304212329.GA40395@VARK.MIT.EDU> <20050304231620.GA4394@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050304231620.GA4394@cirb503493.alcatel.com.au> cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: Julian Elischer cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_sig.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: Fri, 04 Mar 2005 23:47:48 -0000 On Sat, Mar 05, 2005, Peter Jeremy wrote: > On Fri, 2005-Mar-04 16:23:29 -0500, David Schultz wrote: > >On Fri, Mar 04, 2005, Julian Elischer wrote: > >> for a start I'd like to add a sysctl to turn off swapping out kernel > >> stacks.. > >> then if someone had a reproducible or atleast 'common" problem, > >> we could suggest turning it off to see > >> if it fixes the problem.. that would be a big smoking gun.. > > > >You mean like vm.swap_enabled? ;-) > > That turns off all swapping and isn't going to answer the question. > Julian's point does seem reasonable - there is a potential problem > relating to swapping kernel threads but there's no clear evidence > that it is or isn't a real problem. Adding a knob to easily control > the behaviour would be useful - we stand to get some real data and > can then better make a decision as to how to proceed. vm.swap_enabled *does* control kstack swapping only. What you're thinking of, namely, paging in general, is controlled by whether or not you have any swap devices configured.