aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle)2021-12-10 15:09:21 -0500
committerMatthew Wilcox (Oracle)2022-01-16 19:52:13 -0500
commit3fe7fa5843d204e235d92902190fecb972a3f9cc (patch)
tree92ae8b9afc4ee5f2f7f54d86bab9312ebcb28ef6 /block
parent6840f9094f2bd788a316d8cb0a4e42538d3e47dd (diff)
mm: Add folio_put_refs()
This is like folio_put(), but puts N references at once instead of just one. It's like put_page_refs(), but does one atomic operation instead of two, and is available to more than just gup.c. 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 'block')
0 files changed, 0 insertions, 0 deletions