Skip to content

mm/damon/paddr: Fix folio-use-after-put bugs

SeongJae Park damon linux-mm lkml stable 1 version Applied

Status from this message: [merged mm-hotfixes-stable] mm-damon-paddr-fix-folio_size-call-after-folio_put-in-damon_pa_young.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/damon/paddr: fix folio_size() call after folio_put() in damon_pa_young()mm/damon/paddr.c+1 -22 repliesApplied
2/2mm/damon/paddr: fix folio_nr_pages() after folio_put() in damon_pa_mark_accessed_or_deactivate()mm/damon/paddr.c+1 -12 repliesApplied

Reviews trailers per patch

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

PatchMatthew Wilcox (Oracle)Kefeng Wang
1/2R-b R-b
2/2R-b R-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 0/2] mm/damon/paddr: Fix folio-use-after-put bugs

There are two folio accesses after folio_put() in mm/damon/paddr.c file. Fix those.

SeongJae Park (2):
mm/damon/paddr: fix folio_size() call after folio_put() in
damon_pa_young()
mm/damon/paddr: fix folio_nr_pages() after folio_put() in
damon_pa_mark_accessed_or_deactivate()

 mm/damon/paddr.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.25.1