Re: [PATCH] 2.3.99-pre6-3+ VM rebalancing

From: Rik van Riel (riel@conectiva.com.br)
Date: Tue Apr 25 2000 - 14:34:24 EST


On Tue, 25 Apr 2000, Simon Kirby wrote:

> Sorry, I made a mistake there while writing..I was going to give an
> example and wrote 60 seconds, but I didn't actually mean to limit
> anything to 60 seconds. I just meant to make a really big global lru
> that contains everything including page cache and swap. :)

We already have that big global lru queue (actually, it's a
bit more closer to second chance replacement).

For pages which are in the page tables of processes, we
put the pages on the queue when we scan them and they
weren't used since we scanned them the last time (NRU
replacement). After that, they go through the lru queue
and are reclaimed when it's their turn.

regards,

Rik

--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

Wanna talk about the kernel? irc.openprojects.net / #kernelnewbies http://www.conectiva.com/ http://www.surriel.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:10 EST