Commit | Line | Data |
---|---|---|
c4ba6014 SP |
1 | .. SPDX-License-Identifier: GPL-2.0 |
2 | ||
3 | ========================== | |
4 | Frequently Asked Questions | |
5 | ========================== | |
6 | ||
c4ba6014 SP |
7 | Does DAMON support virtual memory only? |
8 | ======================================= | |
9 | ||
10 | No. The core of the DAMON is address space independent. The address space | |
561f4fc4 | 11 | specific monitoring operations including monitoring target regions |
c4ba6014 SP |
12 | constructions and actual access checks can be implemented and configured on the |
13 | DAMON core by the users. In this way, DAMON users can monitor any address | |
14 | space with any access check technique. | |
15 | ||
c6380721 | 16 | Nonetheless, DAMON provides vma/rmap tracking and PTE Accessed bit check based |
c4ba6014 | 17 | implementations of the address space dependent functions for the virtual memory |
c6380721 | 18 | and the physical memory by default, for a reference and convenient use. |
c4ba6014 SP |
19 | |
20 | ||
21 | Can I simply monitor page granularity? | |
22 | ====================================== | |
23 | ||
24 | Yes. You can do so by setting the ``min_nr_regions`` attribute higher than the | |
25 | working set size divided by the page size. Because the monitoring target | |
26 | regions size is forced to be ``>=page size``, the region split will make no | |
27 | effect. |