diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-12-28 14:13:02 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-01-20 17:04:02 -0700 |
commit | 4e5ef02317b12e2ed3d604281ffb6b75261f7612 (patch) | |
tree | 8e8eb1b2959b724ea9d92b34f5b03fb9829f729d /fs/io_uring.c | |
parent | c1ca757bd6f4632c510714631ddcc2d13030fe1e (diff) |
pcpu_ref: add percpu_ref_tryget_many()
Add percpu_ref_tryget_many(), which works the same way as
percpu_ref_tryget(), but grabs specified number of refs.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Dennis Zhou <dennis@kernel.org>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
0 files changed, 0 insertions, 0 deletions