Re: [PATCH v1 1/2] mm/damon/core: charge only the part of a region the filter left
From: Donggeun Yoo
Date: Wed Sep 16 2026 - 21:39:32 EST
On Wed, 16 Sep 2026 18:24:19 -0700, SJ Park wrote:
> The user impact is that DAMOS could work unexpectedly slow, due to
> over-charged quota. Also DAMOS stat could be confusing. No critical
> events such as crashes or leask happen.
>
> If above is not incorrect, I will add that to the commit message when I
> add this patch to damon/next tree.
That is correct, please add it.
The stale size is only ever arithmetic: damos_charge_quota() and
damos_update_stat() take it, and nothing dereferences or frees against
it, so there is no memory-safety consequence.
Thanks for the review.