DAMON TLB Flush Policy
Authors: Kunwu Chan <kunwu.chan@gmail.com>, Wang Lian <lianux.mm@gmail.com> Overview DAMON monitors data access by sampling PTE (Page Table Entry) Accessed bits. It clears the Accessed bit but does not flush the TLB (Translation Lookaside Buffer). This is an intentional design choice. Questions about this behavior come up repeatedly, both on the mailing list and in private inquiries. This document describes the reasoning, the trade-offs, and recommendations for users and testers. Background DAMON’s access check works as follows:...