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 [EMAIL PROTECTED] (spam digging piggy) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: 2.4 and 2GB swap partition limit Alan Cox
- Re: 2.4 and 2GB swap partition limit Christoph Rohland
- Re: 2.4 and 2GB swap partition limit Rik van Riel
- Re: 2.4 and 2GB swap partition limit Stephen C. Tweedie
- Re: 2.4 and 2GB swap partition limit Rogier Wolff
- Re: 2.4 and 2GB swap partition limit Stephen C. Tweedie
- Re: 2.4 and 2GB swap partition limit Rogier Wolff
- Re: 2.4 and 2GB swap partition limit Stephen C. Tweedie
- Re: 2.4 and 2GB swap partition limit Hugh Dickins
- Re: 2.4 and 2GB swap partition limit Stephen C. Tweedie
- Re: 2.4 and 2GB swap partition limit Rik van Riel
- Re: 2.4 and 2GB swap partition limit David S. Miller
- Re: 2.4 and 2GB swap partition limit Rik van Riel
- Re: 2.4 and 2GB swap partition limit Roger Larsson
- Re: 2.4 and 2GB swap partition limit Rik van Riel
- Re: 2.4 and 2GB swap partition limit Albert D. Cahalan
- Re: 2.4 and 2GB swap partition limit Rogier Wolff
- Re: 2.4 and 2GB swap partition limit Jonathan Lundell
- Re: 2.4 and 2GB swap partition limit Kenneth Johansson
- Re: 2.4 and 2GB swap partition limit David Lang
- Re: 2.4 and 2GB swap partition limit Rogier Wolff