Re: [PATCH] iommu/pages: use folio_nr_pages() instead of shift operation
From: Joerg Roedel
Date: Mon Oct 27 2025 - 07:53:31 EST
On Sat, Oct 04, 2025 at 12:23:51AM -0300, Pedro Demarchi Gomes wrote:
> folio_nr_pages() is a faster helper function to get the number of pages when
> NR_PAGES_IN_LARGE_FOLIO is enabled.
>
> Signed-off-by: Pedro Demarchi Gomes <pedrodemargomes@xxxxxxxxx>
> ---
> drivers/iommu/iommu-pages.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.