[PATCH 0/2] mm/damon/core: fix handling of zero non-sampling intervals

SeongJae Park posted 2 patches 3 weeks, 3 days ago
mm/damon/core.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
[PATCH 0/2] mm/damon/core: fix handling of zero non-sampling intervals
Posted by SeongJae Park 3 weeks, 3 days ago
DAMON's internal intervals accounting logic is not correctly handling
non-sampling intervals of zero values for a wrong assumption.  This
could cause unexpected monitoring behavior, and even result in infinite
hang of DAMON sysfs interface user threads in case of zero aggregation
interval.  Fix those by updating the intervals accounting logic.  For
details of the root case and solutions, please refer to commit messages
of fixes.

SeongJae Park (2):
  mm/damon/core: handle zero {aggregation,ops_update} intervals
  mm/damon/core: handle zero schemes apply interval

 mm/damon/core.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)


base-commit: 0c9ffe1412203c72280f67567bb53200f4de44fb
-- 
2.39.5
Re: [PATCH 0/2] mm/damon/core: fix handling of zero non-sampling intervals
Posted by Andrew Morton 3 weeks, 2 days ago
On Thu, 31 Oct 2024 11:37:55 -0700 SeongJae Park <sj@kernel.org> wrote:

> DAMON's internal intervals accounting logic is not correctly handling
> non-sampling intervals of zero values for a wrong assumption.  This
> could cause unexpected monitoring behavior, and even result in infinite
> hang of DAMON sysfs interface user threads in case of zero aggregation
> interval.  Fix those by updating the intervals accounting logic.  For
> details of the root case and solutions, please refer to commit messages
> of fixes.

Thanks.  fyi, there has been email lossage here.

Only [2/2] hit my inbox.  Neither [1/2] not [2/2] are in my linux-mm
folder.  I found the whole series in my linux-kernel folder.