Skip to content
Snippets Groups Projects
Commit 26dd7cc7 authored by SeongJae Park's avatar SeongJae Park Committed by Andrew Morton
Browse files

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: default avatarSeongJae Park <sj@kernel.org>
Cc: Honggyu Kim <honggyu.kim@sk.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent ade414bd
No related branches found
No related tags found
No related merge requests found
...@@ -461,15 +461,17 @@ number of filters for each scheme. Each filter specifies the type of target ...@@ -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 memory, and whether it should exclude the memory of the type (filter-out), or
all except the memory of the type (filter-in). all except the memory of the type (filter-in).
Currently, anonymous page, memory cgroup, address range, and DAMON monitoring Currently, anonymous page, memory cgroup, young page, address range, and DAMON
target type filters are supported by the feature. Some filter target types monitoring target type filters are supported by the feature. Some filter
require additional arguments. The memory cgroup filter type asks users to target types require additional arguments. The memory cgroup filter type asks
specify the file path of the memory cgroup for the filter. The address range users to specify the file path of the memory cgroup for the filter. The
type asks the start and end addresses of the range. The DAMON monitoring address range type asks the start and end addresses of the range. The DAMON
target type asks the index of the target from the context's monitoring targets monitoring target type asks the index of the target from the context's
list. Hence, users can apply specific schemes to only anonymous pages, monitoring targets list. Hence, users can apply specific schemes to only
non-anonymous pages, pages of specific cgroups, all pages excluding those of anonymous pages, non-anonymous pages, pages of specific cgroups, all pages
specific cgroups, pages in specific address range, pages in specific DAMON 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. monitoring targets, and any combination of those.
To handle filters efficiently, the address range and DAMON monitoring target To handle filters efficiently, the address range and DAMON monitoring target
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment