linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mm/damon/core: fix handling of zero non-sampling intervals
@ 2024-10-31 18:37 SeongJae Park
  2024-10-31 18:37 ` [PATCH 1/2] mm/damon/core: handle zero {aggregation,ops_update} intervals SeongJae Park
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: SeongJae Park @ 2024-10-31 18:37 UTC (permalink / raw)
  To: Andrew Morton; +Cc: SeongJae Park, damon, linux-mm, linux-kernel, kernel-team

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-01 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-31 18:37 [PATCH 0/2] mm/damon/core: fix handling of zero non-sampling intervals SeongJae Park
2024-10-31 18:37 ` [PATCH 1/2] mm/damon/core: handle zero {aggregation,ops_update} intervals SeongJae Park
2024-10-31 18:37 ` [PATCH 2/2] mm/damon/core: handle zero schemes apply interval SeongJae Park
2024-11-01  0:27 ` [PATCH 0/2] mm/damon/core: fix handling of zero non-sampling intervals Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox