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

Message ID 20230304193949.296391-1-sj@kernel.org
Headers
Series mm/damon/paddr: Fix folio-use-after-put bugs |

Message

SeongJae Park March 4, 2023, 7:39 p.m. UTC
  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(-)