From owner-svn-src-all@FreeBSD.ORG Mon Jan 26 19:00:54 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4952106566B; Mon, 26 Jan 2009 19:00:54 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 7E10C8FC13; Mon, 26 Jan 2009 19:00:54 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id n0QJ3B9X031847; Mon, 26 Jan 2009 14:03:11 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id n0QJ3ALm031846; Mon, 26 Jan 2009 14:03:10 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Mon, 26 Jan 2009 14:03:10 -0500 From: David Schultz To: Bruce Evans Message-ID: <20090126190310.GA31728@zim.MIT.EDU> Mail-Followup-To: Bruce Evans , Ed Schouten , Tom Rhodes , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG References: <200901230058.n0N0wEjY026935@svn.freebsd.org> <20090125162123.GB17198@hoeg.nl> <20090126041926.J43097@delplex.bde.org> <20090125175751.GC17198@hoeg.nl> <20090126051910.E2148@besplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090126051910.E2148@besplex.bde.org> Cc: svn-src-head@FreeBSD.ORG, Ed Schouten , svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Tom Rhodes Subject: Re: svn commit: r187607 - head/usr.bin/truss X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 19:00:55 -0000 On Mon, Jan 26, 2009, Bruce Evans wrote: > - P_SYSTEM has something to do with swapping, and I also removed the > PS_INMEM setting for init. I have always used NO_SWAPPING and haven't > used a swap partition since memory sizes reached 64MB, so I wouldn't > have noticed problems with this. init doesn't run often so it is > quite likely to be swapped (if allowed to) if real memory runs out. Process kstack swapping was removed several years ago, so "swapping out" a process just deactivates all of its pages. In principle this could be safe to do with init, but it's probably a bad idea, and perhaps could lead to deadlock in the out-of-swap-space -> kill a process -> reparent the zombie to init path. PS_INMEM will prevent init from being swapped out.