Date: Wed, 17 Feb 1999 16:49:24 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Wilko Bulte <wilko@yedi.iaf.nl> Cc: eivind@FreeBSD.ORG (Eivind Eklund), brandon@roguetrader.com, freebsd-hackers@FreeBSD.ORG Subject: Re: savecore before swapon? Message-ID: <199902180049.QAA13082@apollo.backplane.com> References: <199902171836.TAA00897@yedi.iaf.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
:Or start allocating swap 'backwards' from the high block# on the disk :downwards. Assuming swap > physical mem and dumps starting at swap offset 0 :this should be safe at all times (unless fsck really allocates all swap :of course ;-) : :But this might be a lot of work, I'm not familiar with the VM. : :Wilko :_ ______________________________________________________________________ : | / o / / _ Arnhem, The Netherlands : |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl Hmm. Well, I don't want to reverse-index the swap allocation but it would be possible to set the hinting on the swap radix tree bitmap to allocate higher swap blocks first. I think it would be a little too much of a hack to be worthy of the kernel, though. -Matt Matthew Dillon <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902180049.QAA13082>