Skip to content

mm/damon/core: fix last region handling of damos_skip_charged_regions()

SJ Park damon stable 6 versions – Applied

Status from this message: Queued the series for 6.1, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 3/32 patches 3 repliesApplied
  2. v2 posting 2/22 patches 2 repliesSuperseded
  3. v3 posting 2/32 patches 3 repliesApplied
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/32 patches3 repliesApplied
v2 posting 1/21 patch1 replyApplied
v11 patch2 repliesSuperseded

Changes in v3 from the cover letter

- v2: https://lore.kernel.org/[email protected]
- Drop the safe region traversal workaround in patch 1. Changes from v1
- v1: https://lore.kernel.org/[email protected]
- Fix out-of-bounds memory access bug by adding patch 1.

Patches in v3 posting 3/3 Applied

#Subject and filesSizeRepliesApplied
1/2mm/damon/core: do non-safe region walk on kdamond_apply_schemes()mm/damon/core.c+3 -41 reply
2/2mm/damon/core: fix unconditionally skip last regionmm/damon/core.c+15 -101 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSJ Park
1/2
2/2R-b

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

Read the v3 thread

Cover letter [PATCH 6.1.y v3 0/2] mm/damon/core: fix last region handling of damos_skip_charged_regions()

Patch 1 is a dependency of patch 2. Without it, patch 2 introduces out-of-bounds memory access bug that was found by Sashiko. Patch 2 fixes a bug that categorized to be backported to stable@.

Changes from v2
- v2: https://lore.kernel.org/[email protected]
- Drop the safe region traversal workaround in patch 1. Changes from v1
- v1: https://lore.kernel.org/[email protected]
- Fix out-of-bounds memory access bug by adding patch 1.

Liew Rui Yan (1):
mm/damon/core: fix unconditionally skip last region

SeongJae Park (1):
mm/damon/core: do non-safe region walk on kdamond_apply_schemes()

 mm/damon/core.c | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

base-commit: 5f9615e6a3b5f768df8b69ab622454fcb3af0a34

Signature · 1 line
2.47.3