REPOSTING: vm: detecting age of page

From: Reza Roboubi (
Date: Mon May 06 2002 - 20:30:50 EST

(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).

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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:28 EST