]> Gentwo Git Trees - linux/.git/commit
Docs/mm/damon/design: clarify handling layer based filters evaluation sequence
authorSeongJae Park <sj@kernel.org>
Tue, 18 Feb 2025 22:37:07 +0000 (14:37 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 23 Feb 2025 06:25:42 +0000 (22:25 -0800)
commitbdb82cd9f72993afebb1697ec68b22eb92ec67e1
treebcb9b9595d3fe098497a5e1072c0f4e2b66538df
parente80dc25cc0e63c665b784e48da5800570bfd6abd
Docs/mm/damon/design: clarify handling layer based filters evaluation sequence

If an element of memory matches a DAMOS filter, filters that installed
after that get no chance to make any effect to the element.  Hence in what
order DAMOS filters are handled is important, if both allow filters and
reject filters are used together.

The ordering is affected by both the installation order and which layter
the filters are handled.  The design document is not clearly documenting
the latter part.  Clarify it on the design doc.

Link: https://lkml.kernel.org/r/20250218223708.53437-5-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/mm/damon/design.rst