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