Re: [QUESTION] Re: buffer cache behavior on memory-constrained systems (fwd)

Stephen C. Tweedie (sct@redhat.com)
Fri, 2 Apr 1999 20:53:16 +0100 (BST)


Hi,

On Thu, 1 Apr 1999 11:25:23 +0200 (MEST), Ricardo Galli Granada
<gallir@atlas-iap.es> said:

> As I understand, in 2.2.x, shrink_mmap() is in charge of selecting victims
> for swap_out, and for doing it, is called from try_to_swap_out().

> Am I right? If so, Linux uses clock for pages replacement. Doesn't it?

Yes, it uses a clock algorithm for page replacement, although it is
different from traditional Unix VMs in that it has separate clocks for
cache replacement and for VM pageout.

--Stephen

-
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/