On Mon, 13 Jan 2025 19:07:38 +0000 Usama Arif <usamaarif642@xxxxxxxxx> wrote: > This is to avoid going through all the pages in a folio. > For folio_size > PAGE_SIZE, damon_get_folio will return NULL > for tail pages, so the for loop in those instances will be a > nop. Have a more efficient loop by just incrementing the > address by folio_size. Thank you for this nice patch, Usama! > > Signed-off-by: Usama Arif <usamaarif642@xxxxxxxxx> Reviewed-by: SeongJae Park <sj@xxxxxxxxxx> Thanks, SJ [...]