[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
accesed bit on ptes
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.
On arch i386 the only place seems to be memory.c in handle_pte_fault
Is this *the* place where this bit is changed or this is also done by
hardware and handle_pte_fault is used for other means.
Under what circumstances are handle_mm_fault() , handle_pte_fault()
triggered. i e:
a) only when a page is accessed for writing
b) every time the page is accessed
c) or only when the page is not present in memory?
alejandro
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
-
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.surriel.com/kernelnewbies.shtml