]> www.infradead.org Git - users/jedix/linux-maple.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>
Tue, 4 Mar 2025 05:50:08 +0000 (21:50 -0800)
commit29de8195dcc9bd5dbfb619b061434e6b75be9c37
tree01c677b4a49d3beec6c8186ce1a8a4bb487d570c
parentaf65ef17a31cb7db13d9328da48ca7a96d9bdb97
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