[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251006122841.GC3365647@ziepe.ca>
Date: Mon, 6 Oct 2025 09:28:41 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Pedro Demarchi Gomes <pedrodemargomes@...il.com>
Cc: Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommu/pages: use folio_nr_pages() instead of shift
operation
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@...il.com>
> ---
> drivers/iommu/iommu-pages.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Jason Gunthorpe <jgg@...dia.com>
Jason
Powered by blists - more mailing lists