Re: [PATCH 0/5] mm/damon: unurgent fixes for infinite loop, NULL de-ref and races

From: SJ Park

Date: Tue Jul 14 2026 - 10:39:23 EST


On Tue, 14 Jul 2026 06:52:28 -0700 SJ Park <sj@xxxxxxxxxx> wrote:

> Sashiko found a few issues in DAMON that could cause infinite loop, NULL
> dereference and monitoring results degradation. The first two sounds
> scary but the infinite loop happens only under unreasonable user setup.
> The NULL dereference is only in a unit test. Monitoring results
> degradation is trivial since it is only best-effort, and those happens
> from only unlikely races. Still those are bugs that better to fix if
> possible. Fix those.

Sashiko found one more bug that may better to be fixed together with this
series. Also patch 5 mistakenly lacks its Fixes: tag. I will post a new
version of this series with the fixes. Please don't pick this series into
mm-new for now.


Thanks,
SJ

[...]