diff options
author | Pavel Begunkov <[email protected]> | 2019-12-28 14:13:02 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-01-20 17:04:02 -0700 |
commit | 4e5ef02317b12e2ed3d604281ffb6b75261f7612 (patch) | |
tree | 8e8eb1b2959b724ea9d92b34f5b03fb9829f729d /lib/mpi/mpi-mod.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 <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Acked-by: Dennis Zhou <[email protected]>
Cc: Christoph Lameter <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions