From owner-cvs-all Thu Mar 13 22:46:23 2003 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 208CA37B401; Thu, 13 Mar 2003 22:46:21 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-224.client.attbi.com [12.233.57.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C36343F85; Thu, 13 Mar 2003 22:46:20 -0800 (PST) (envelope-from das@FreeBSD.org) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h2E6kFIX020544; Thu, 13 Mar 2003 22:46:15 -0800 (PST) (envelope-from das@FreeBSD.org) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h2E6kEC7020543; Thu, 13 Mar 2003 22:46:14 -0800 (PST) (envelope-from das@FreeBSD.org) Date: Thu, 13 Mar 2003 22:46:14 -0800 From: David Schultz To: Alfred Perlstein Cc: Mike Silbersack , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_map.c vm_map.h vm_pageout.c Message-ID: <20030314064614.GA20500@HAL9000.homeunix.com> Mail-Followup-To: Alfred Perlstein , Mike Silbersack , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200303122313.h2CNDHMU046431@repoman.freebsd.org> <20030312175458.J32334@odysseus.silby.com> <20030313005115.GA11794@HAL9000.homeunix.com> <20030313154226.X682@odysseus.silby.com> <20030313224223.GP4145@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030313224223.GP4145@elvis.mu.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Alfred Perlstein : > * Mike Silbersack [030313 13:49] wrote: > > > > On Wed, 12 Mar 2003, David Schultz wrote: > > > > > With KSE, all of the threads in the process are made runnable. I > > > assume this is to get them to all exit the kernel as fast as > > > possible so the process can die, although there may be a better > > > solution. Still, it shouldn't be a big problem. > > > > Well, back when I was running tests, I found that if you had 1000s of > > processes running, the kill signal could take so long to get delivered and > > acted upon that the same process might have to be killed by the pageout > > daemon 3-4 times before it actually died. > > Shooting from the hip here, but why not just forcefully toss away the > process's vmspace or a subset of it? Basically have the pageout > deamon deallocate the "to be killed" process's address space? Sharing would just make that a pain. You're not even guaranteed to get anything out of cannibalizing the address space if it's shared. I think I'll wait until someone presents conclusive evidence that the requirement that processes be swapped in before they are killed is really an issue in practice. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message