Re: [PATCH 0/2] mm/damon/paddr: Fix folio-use-after-put bugs

From: Kefeng Wang
Date: Sun Mar 05 2023 - 21:05:22 EST




On 2023/3/5 3:39, SeongJae Park wrote:
There are two folio accesses after folio_put() in mm/damon/paddr.c file.
Fix those.

I saw you send the bugfixes separately :)

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(-)