]> 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>
Fri, 28 Feb 2025 01:00:17 +0000 (17:00 -0800)
commit127b5878f4b457809c00f9f5cf7128f0cc01cc30
tree600c4ea2804c6f1549880218ded2ed7a97c027b6
parent032f83d7e0738ad31ddca6bf5df5baca34735aa5
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