lkml.org 
[lkml]   [1999]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [QUESTION] Re: buffer cache behavior on memory-constrained systems (fwd)
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.034 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site