diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-12-10 20:09:21 +0000 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2022-01-17 00:52:13 +0000 |
| commit | 3fe7fa5843d204e235d92902190fecb972a3f9cc (patch) | |
| tree | 92ae8b9afc4ee5f2f7f54d86bab9312ebcb28ef6 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | pagevec: Initialise folio_batch->percpu_pvec_drained (diff) | |
| download | kernel-3fe7fa5843d204e235d92902190fecb972a3f9cc.tar.gz kernel-3fe7fa5843d204e235d92902190fecb972a3f9cc.zip | |
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) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: John Hubbard <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
