diff options
author | SeongJae Park <[email protected]> | 2023-03-04 19:39:49 +0000 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-03-07 17:04:55 -0800 |
commit | dd52a61da0dd8bab8b90e808f0e5ad507b61ad6d (patch) | |
tree | 7b0321a912f1a9766bc7e6090bedc458d5df5ba9 /scripts/generate_rust_analyzer.py | |
parent | 751688b8be9049f558f86982966ecaa61a9cbedf (diff) |
mm/damon/paddr: fix folio_nr_pages() after folio_put() in damon_pa_mark_accessed_or_deactivate()
damon_pa_mark_accessed_or_deactivate() is accessing a folio via
folio_nr_pages() after folio_put() for the folio has invoked. Fix it.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: f70da5ee8fe1 ("mm/damon: convert damon_pa_mark_accessed_or_deactivate() to use folios")
Signed-off-by: SeongJae Park <[email protected]>
Reviewed-by: Kefeng Wang <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Vishal Moola (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions