Re: [v2] mm/damon/paddr: increment pa_stat damon address range by folio size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[...]




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux