Messages in this thread |  | | Date | Tue, 1 May 2001 21:28:28 -0300 (BRST) | From | Rik van Riel <> | Subject | Re: 2.4 and 2GB swap partition limit |
| |
On Tue, 1 May 2001, Stephen C. Tweedie wrote:
> The right fix is to reclaim such pages only when we need to. To > disable swap caching when we still have enough swap free would hurt > users who have the spare swap to cope with it.
That's easy enough. When we are: 1. almost out of swap and 2. need swap space
Then we will be scanning through memory looking for something to swap out (otherwise we'd not be in need of swap space, right?). At this point we can simply free up swap entries while scanning through memory looking for stuff to swap out.
regards,
Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose...
http://www.surriel.com/ http://distro.conectiva.com/
Send all your spam to aardvark@nl.linux.org (spam digging piggy)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |