Date: Fri, 12 Jul 2002 22:23:37 -0700 From: David Schultz <dschultz@uclink.Berkeley.EDU> To: Sean Kelly <smkelly@zombie.org> Cc: hackers@FreeBSD.ORG Subject: Re: swapoff? Message-ID: <20020713052337.GA662@HAL9000.wox.org> In-Reply-To: <20020713040247.GA82181@edgemaster.zombie.org> References: <20020713040247.GA82181@edgemaster.zombie.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Sean Kelly <smkelly@zombie.org>: > My familiarity with the "workings" of FreeBSD is still pretty minimal. Are > there certain reasons that there currently is no way to stop paging to a > device/file? I imagine the implementation of this would be complicated, as it is in Linux. You'd have to prevent further allocations on the swap device, then figure out where to evict the pages already allocated on the device. You also have to be able to back out if you run out of space to put things in the process. Maybe someone who is familiar with the race conditions involved will implement it some day, but swapoff would only occasionally be useful... at least until everyone is using hot-swappable swap. ;-) 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?20020713052337.GA662>