atom feed30 messages in org.freebsd.freebsd-hackersRe: swapoff?
FromSent OnAttachments
Sean KellyJul 12, 2002 9:02 pm 
David SchultzJul 12, 2002 10:23 pm 
David SchultzJul 12, 2002 10:32 pm 
Matthew DillonJul 12, 2002 11:51 pm 
David SchultzJul 13, 2002 12:18 am 
Matthew DillonJul 13, 2002 12:27 am 
Peter WemmJul 13, 2002 12:33 am 
Andrey AlekseyevJul 13, 2002 1:23 am 
Terry LambertJul 13, 2002 3:17 am 
Jon MiniJul 13, 2002 3:44 am 
Terry LambertJul 13, 2002 4:30 am 
David SchultzJul 13, 2002 4:57 am 
Terry LambertJul 13, 2002 5:22 am 
Matthew DillonJul 13, 2002 9:36 am 
David SchultzJul 13, 2002 2:00 pm 
Peter WemmJul 13, 2002 3:39 pm 
David SchultzOct 7, 2002 8:38 am 
Matthew DillonOct 7, 2002 4:46 pm 
Nate LawsonOct 7, 2002 9:47 pm 
David SchultzOct 8, 2002 4:35 am 
David SchultzOct 8, 2002 4:39 am 
Matthew DillonOct 8, 2002 10:04 am 
Matthew DillonOct 8, 2002 10:45 am 
David SchultzOct 11, 2002 6:01 am 
Matthew DillonOct 11, 2002 11:14 am 
David SchultzOct 14, 2002 2:41 am 
Matthew DillonOct 14, 2002 8:55 am 
David SchultzOct 15, 2002 12:10 am 
David SchultzOct 23, 2002 11:07 am 
Matthew DillonOct 23, 2002 11:45 am 
Subject:Re: swapoff?
From:Matthew Dillon (dil@apollo.backplane.com)
Date:Jul 13, 2002 12:27:19 am
List:org.freebsd.freebsd-hackers

:Can't you have a race condition here where you decide that you :have enough space, and by the time you've deallocated half of the :swapfile that's no longer the case? It seems like the correct :thing to do in that case is abort the system call (which could be :painful). Perhaps the best thing to do in this case is wait for :vm_pageout_scan to kill a few pigs.

I wouldn't worry about it. Nobody turns off swap on a running system at a whim. It just needs to prevent stupid mistakes like trying to remove a swap device without having adequate memory + other swap to take care of the data.

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message