]> 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>
Mon, 17 Mar 2025 05:06:24 +0000 (22:06 -0700)
commit4a4d8e792506432270e27516cf03a8208cbbec8b
treeda3cc573e2c985fe7096fa1d9a6f75050fa60e3c
parent0f28583b28d84a5eaaf299e01b7301922ae8da46
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