[RFC PATCH 1/2] percpu_ref: add percpu_ref_tryget_many_live
Bart Van Assche
bvanassche at acm.org
Thu Apr 15 20:50:43 BST 2021
On 4/15/21 3:33 AM, Ming Lei wrote:
> /**
> - * percpu_ref_tryget_live - try to increment a live percpu refcount
> + * percpu_ref_tryget_many_live - try to increment a live percpu refcount
> * @ref: percpu_ref to try-get
> + * @nr: number of references to get
You may want to change "increment" into "increase" to make it more clear
that this function may increase the percpu refcount by more than one.
Anyway:
Reviewed-by: Bart Van Assche <bvanassche at acm.org>
More information about the Linux-nvme
mailing list