lkml.org 
[lkml]   [2002]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectREPOSTING: vm: detecting age of page
Date
From
(My sincere apologies for reposting.  I forgot to type in a subject.)


I read the following about the /proc/sys/vm/swapctl values:

* If the page was used since the last time we scanned, its age is
increased by sc_page_advance (default 3). Where the maximum value is
given by sc_max_page_age (default 20).

* Otherwise (meaning it wasn't used) its age is decreased by
sc_page_decline (default 1).

Question:
How can the intel hardware detect page access if the page is mapped into
the process' VM(and resident in RAM)? If detecting such access is
impossible, then how does kswapd decide the page "age" in this case?

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

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