mm/damon/vaddr: record appropriate folio size when the access is not found
authorSeongJae Park <sj@kernel.org>
Mon, 9 Jan 2023 21:33:32 +0000 (21:33 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 19 Jan 2023 01:12:58 +0000 (17:12 -0800)
commit7477d7560cb2c756d6a8ab165d9ed52537df54e7
tree1adad239176386ab88d28a55f7eea54282a16c46
parent18fd73dbe5c39707b51552d622235e5c41e3d869
mm/damon/vaddr: record appropriate folio size when the access is not found

DAMON virtual address spaces monitoring operations set doesn't set folio
size of the access checked address if access is not found.  It could
result in unnecessary and inefficient repeated check.  Appropriately set
the size regardless of access check result.

Link: https://lkml.kernel.org/r/20230109213335.62525-4-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/damon/vaddr.c