[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accesed bit on ptes
On Tue, 3 Apr 2001, alejandro alliana wrote:
> I've looking at the source (really an old kernel, 2.1.125) to find
> where is a pte marked as accessed when the page is referenced. I don't
> know how much things have changed since but I've really got to work
> with this version.
This is done in hardware, by the MMU. Whenever the page is
accessed, the CPU will set the accessed bit in the pte.
The kernel uses this to see if the page was accessed or
not.
Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...
http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com.br/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/