]> 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)
commit03ed4647814e2b4c66235080f17b38def441f158
treeeecaae0094d56efc990cfa710fafe3b77d687478
parent76ad0ac4671c477e4538aa30ae11f20dc0aef183
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