Date: Fri, 19 Feb 1999 14:12:21 +0000 From: Peter Edwards <peter.edwards@isocor.ie> To: freebsd-hackers@freebsd.org Subject: Re: savecore before swapon? Message-ID: <36CD7145.EC9EA9D5@isocor.ie> References: <199902171836.TAA00897@yedi.iaf.nl> <199902180049.QAA13082@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, How about _dumping_ to the end of the swap device, rather than hacking on the swap code. > :But this might be a lot of work, I'm not familiar with the VM. Ditto. Matthew Dillon wrote: > > :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 ;-) > : > 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 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?36CD7145.EC9EA9D5>