diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-12-10 23:39:04 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-21 19:56:35 +0300 |
commit | d8ddc099c6b3dde887f9484da9a6677709d68b61 (patch) | |
tree | 1eae9f9ef0f27039ca1cbed78966650e47dddb1f /mm/hugetlb.c | |
parent | 40fcc7fc2c3838f3afe07a3a72709b45566e6cdb (diff) | |
download | linux-d8ddc099c6b3dde887f9484da9a6677709d68b61.tar.xz |
mm/gup: Add gup_put_folio()
Convert put_compound_head() to gup_put_folio() and hpage_pincount_sub()
to folio_pincount_sub(). This removes the last call to put_page_refs(),
so delete it. Add a temporary put_compound_head() wrapper which will
be deleted by the end of this series.
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>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions