Docs/mm/damon/design: document 'young page' type DAMOS filter

Update DAMON design document for the newly added DAMOS filter type, 'young
page'.

Link: https://lkml.kernel.org/r/20240426195247.100306-6-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Honggyu Kim <honggyu.kim@sk.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
SeongJae Park 2024-04-26 12:52:44 -07:00 committed by Andrew Morton
parent ade414bdf6
commit 26dd7cc7bb
1 changed files with 11 additions and 9 deletions

View File

@ -461,15 +461,17 @@ number of filters for each scheme. Each filter specifies the type of target
memory, and whether it should exclude the memory of the type (filter-out), or
all except the memory of the type (filter-in).
Currently, anonymous page, memory cgroup, address range, and DAMON monitoring
target type filters are supported by the feature. Some filter target types
require additional arguments. The memory cgroup filter type asks users to
specify the file path of the memory cgroup for the filter. The address range
type asks the start and end addresses of the range. The DAMON monitoring
target type asks the index of the target from the context's monitoring targets
list. Hence, users can apply specific schemes to only anonymous pages,
non-anonymous pages, pages of specific cgroups, all pages excluding those of
specific cgroups, pages in specific address range, pages in specific DAMON
Currently, anonymous page, memory cgroup, young page, address range, and DAMON
monitoring target type filters are supported by the feature. Some filter
target types require additional arguments. The memory cgroup filter type asks
users to specify the file path of the memory cgroup for the filter. The
address range type asks the start and end addresses of the range. The DAMON
monitoring target type asks the index of the target from the context's
monitoring targets list. Hence, users can apply specific schemes to only
anonymous pages, non-anonymous pages, pages of specific cgroups, all pages
excluding those of specific cgroups, pages that not accessed after the last
access check from the scheme, pages that accessed after the last access check
from the scheme, pages in specific address range, pages in specific DAMON
monitoring targets, and any combination of those.
To handle filters efficiently, the address range and DAMON monitoring target