Merge tag 'powerpc-6.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux-block.git] / Documentation / mm / damon / faq.rst
CommitLineData
c4ba6014
SP
1.. SPDX-License-Identifier: GPL-2.0
2
3==========================
4Frequently Asked Questions
5==========================
6
c4ba6014
SP
7Does DAMON support virtual memory only?
8=======================================
9
10No. The core of the DAMON is address space independent. The address space
561f4fc4 11specific monitoring operations including monitoring target regions
c4ba6014
SP
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
c6380721 16Nonetheless, DAMON provides vma/rmap tracking and PTE Accessed bit check based
c4ba6014 17implementations of the address space dependent functions for the virtual memory
c6380721 18and the physical memory by default, for a reference and convenient use.
c4ba6014
SP
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.