Re: [PATCH 0/8] mm/damon: move damos filter range arguments validation to core

From: SJ Park

Date: Mon Sep 14 2026 - 19:46:59 EST


On Mon, 14 Sep 2026 07:23:17 -0700 SJ Park <sj@xxxxxxxxxx> wrote:

> DAMOS filter range arguments are being validated in the DAMON sysfs
> interface. Some of those have minor time-of-check to time-of-use
> (TOCTOU) bugs. In future, other callers might have duplicated
> validations with similar bugs.
>
> Fix the bugs and further refactor the code to move the validation to the
> core layer. Also add kunit test cases for the validations.

Sashiko found no blocker for this series. Sashiko send its findings to damon@
mailing list [1], and I reply those if anything needs to be clarified. Please
refer to those for details.

[1] https://lore.kernel.org/damon/


Thanks,
SJ

[...]