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

From: Rik van Riel (
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.



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

Wanna talk about the kernel? / #kernelnewbies

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at

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