cvs commit: src/sys/vm swap_pager.c

Kostik Belousov kostikbel at gmail.com
Thu Jul 31 09:18:39 UTC 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20080731/00cea740/attachment.pgp


More information about the cvs-src mailing list