]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Turn page_maybe_dma_pinned() into folio_maybe_dma_pinned()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 27 Dec 2021 23:40:41 +0000 (18:40 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:56:35 +0000 (12:56 -0400)
commitd3df4c068d1ef65c4b1de4782420645f5c87397f
treeeecaae0094d56efc990cfa710fafe3b77d687478
parent60eb7c4074674777ca2f7631248919bafe9954d9
mm: Turn page_maybe_dma_pinned() into folio_maybe_dma_pinned()

Replace three calls to compound_head() with one.  This removes the last
user of compound_pincount(), so remove that helper too.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
include/linux/mm.h