Re: [RFC PATCH] mm/damon/core: avoid overflow in damon_feed_loop_next_input()
From: Guenter Roeck
Date: Thu Oct 31 2024 - 00:19:01 EST
On Thu, Sep 05, 2024 at 10:24:05AM -0700, SeongJae Park wrote:
> damon_feed_loop_next_input() is fragile to overflows. Rewrite code to
> avoid overflows. This is not yet well tested on 32bit archs.
>
> Reported-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> Closes: https://lore.kernel.org/944f3d5b-9177-48e7-8ec9-7f1331a3fea3@xxxxxxxxxxxx
> Fixes: 9294a037c015 ("mm/damon/core: implement goal-oriented feedback-driven quota auto-tuning")
> Signed-off-by: SeongJae Park <sj@xxxxxxxxxx>
> ---
> As mentioned on the commit message, this is not yet sufficiently tested
> on 32bit machines. That's why this is RFC.
Is that patch going anywhere ? I have been testing it on a lot of 32-bit architectures,
and I do not see any failures.
Guenter