Date: Thu, 31 Jul 2008 12:06:51 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: John Baldwin <jhb@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/vm swap_pager.c Message-ID: <20080731090651.GX97161@deviant.kiev.zoral.com.ua> In-Reply-To: <200807302112.m6ULCThe046074@repoman.freebsd.org> References: <200807302112.m6ULCThe046074@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Jul 30, 2008 at 09:12:15PM +0000, John Baldwin wrote: > jhb 2008-07-30 21:12:15 UTC > > FreeBSD src repository > > Modified files: > sys/vm swap_pager.c > Log: > SVN rev 181019 on 2008-07-30 21:12:15Z by jhb > > If the kernel has run out of metadata for swap, then explicitly panic() > instead of emitting a warning before deadlocking. > > MFC after: 1 month > > 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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiRgKoACgkQC3+MBN1Mb4iSpACeJtWsG648twwFO++TSz7jFqNY CmwAn1/0dRQhKvQHha6BOs4hM8GCjxlG =q+87 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080731090651.GX97161>
