Skip to content

mm/damon: three fixes for idle_time overflow and damos_walk() hang

SJ Park damon linux-mm mm-commits stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm/damon/stat: avoid 32-bit overflow in idle time millisecondsmm/damon/stat.c+2 -20 replies
2/3mm/damon/core: fix damos_walk() hang with zero watermarks intervalmm/damon/core.c+9 -10 replies
3/3mm/damon/core: do not overwrite wmarks.activated in damos_commit()mm/damon/core.c+3 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSJ Park
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH mm-hotfixes-unstable 0/3] mm/damon: three fixes for idle_time overflow and damos_walk() hang

Avoid 32-bit overflow of idle time calculation in DAMON_STAT, via patch 1 from David Carlier. Fix a damos_walk() hang that can happen under certain watermarks setup and a watermarks commit internal state overwrite issue, via patches 2 and 3 from Yifan Feng.

This is a batched reposting of separately posted and reviewed patches for being merged into the mm.git. Refer to changelog on each patch for changes that were made before this reposting.

David Carlier (1):
mm/damon/stat: avoid 32-bit overflow in idle time milliseconds

Yifan Feng (2):
mm/damon/core: fix damos_walk() hang with zero watermarks interval mm/damon/core: do not overwrite wmarks.activated in damos_commit()

 mm/damon/core.c | 13 ++++++++++++-
 mm/damon/stat.c |  4 ++--
 2 files changed, 14 insertions(+), 3 deletions(-)

base-commit: f6538c11c47408c69dc77d38fea1b2a4fca86f3e

Signature · 1 line
2.47.3