From owner-cvs-src@FreeBSD.ORG Thu Jul 31 09:18:39 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C70E1065678; Thu, 31 Jul 2008 09:18:39 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 182CF8FC17; Thu, 31 Jul 2008 09:18:38 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m6V96qAi097649 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 31 Jul 2008 12:06:52 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m6V96qVK002781; Thu, 31 Jul 2008 12:06:52 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m6V96p1V002780; Thu, 31 Jul 2008 12:06:51 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 31 Jul 2008 12:06:51 +0300 From: Kostik Belousov To: John Baldwin Message-ID: <20080731090651.GX97161@deviant.kiev.zoral.com.ua> References: <200807302112.m6ULCThe046074@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SuGb6p5JEpzYJdwO" Content-Disposition: inline In-Reply-To: <200807302112.m6ULCThe046074@repoman.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/vm swap_pager.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2008 09:18:39 -0000 --SuGb6p5JEpzYJdwO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 30, 2008 at 09:12:15PM +0000, John Baldwin wrote: > jhb 2008-07-30 21:12:15 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/vm swap_pager.c=20 > Log: > SVN rev 181019 on 2008-07-30 21:12:15Z by jhb > =20 > If the kernel has run out of metadata for swap, then explicitly panic() > instead of emitting a warning before deadlocking. > =20 > MFC after: 1 month > =20 > Revision Changes Path > 1.303 +1 -1 src/sys/vm/swap_pager.c Hmm, would it make sense to attempt to sync the filesystems ? We panic due to resource exhaustion as opposed to some data consistency violation. Sure, sync might deadlock too, because we may be in the low memory condition. --SuGb6p5JEpzYJdwO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiRgKoACgkQC3+MBN1Mb4iSpACeJtWsG648twwFO++TSz7jFqNY CmwAn1/0dRQhKvQHha6BOs4hM8GCjxlG =q+87 -----END PGP SIGNATURE----- --SuGb6p5JEpzYJdwO--