Thread (11 messages) 11 messages, 3 authors, 2021-04-20

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help