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