From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 12 18:42:27 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9BFF16A4CE for ; Tue, 12 Apr 2005 18:42:27 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 618D243D48 for ; Tue, 12 Apr 2005 18:42:27 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id 8C0F21F075; Tue, 12 Apr 2005 20:42:26 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id 6627E6381; Tue, 12 Apr 2005 20:42:26 +0200 (CEST) Date: Tue, 12 Apr 2005 20:42:26 +0200 From: Marc Olzheim To: ALeine Message-ID: <20050412184226.GA23021@stack.nl> References: <200504121837.j3CIbqnh022760@marlena.vvi.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <200504121837.j3CIbqnh022760@marlena.vvi.at> X-Operating-System: FreeBSD hammer.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i cc: marcolz@stack.nl cc: des@des.no cc: killing@multiplay.co.uk cc: freebsd-hackers@freebsd.org Subject: Re: kernel killing processes when out of swap X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 18:42:27 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 12, 2005 at 11:37:52AM -0700, ALeine wrote: > > Are you suggesting that vm_pageout_pmap_collect() is no longer in > > use ? > >=20 > > That has a FOREACH_PROC_IN_SYSTEM(p) ... find biggest unlocked > > ... > > kill-kill-kill... >=20 > The largest process gets killed in vm_pageout_scan() according to the > latest sources: Erhm, my mistake I meant the same code, just copy-pasted the function name above vm_pageout_scan() by accident. :-/ My point was/is: it still seems to do big process detection / killing. The original patch preventing X to be killed was built into that same loop... Marc --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCXBaSezjnobFOgrERAu3vAKC0rDcYW+cZYutRHuhyOB5PzH9TrgCglwxN cm50zGd7Eek5p0FgMBiTsAQ= =NLJT -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--