How does ARM Linux emulate the dirty, accessed, and file bits of a PTE?
My question is how does it check the dirty, accessed, file bit of a page on H/W PTE? TL;DR – they are emulated by taking a page fault on initial accesses. The answers are given in pgtable-2-level.h, The “dirty” bit is emulated by only granting hardware write permission iff the page is marked “writable” and … Read more