Re: [RFC PATCH 1/2] percpu_ref: add percpu_ref_tryget_many_live
From: Bart Van Assche <bvanassche@acm.org>
Date: 2021-04-15 19:50:50
Also in:
dm-devel, linux-block, linux-nvme
From: Bart Van Assche <bvanassche@acm.org>
Date: 2021-04-15 19:50:50
Also in:
dm-devel, linux-block, linux-nvme
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@acm.org>