Re: [PATCH V8 5/8] percpu-refcount: introduce __percpu_ref_tryget_live

From: Bart Van Assche
Date: Tue Oct 03 2017 - 14:40:52 EST


On Tue, 2017-10-03 at 22:04 +0800, Ming Lei wrote:
> Block layer need to call this function after holding
> rcu lock in a real hot path, so introduce this helper.

Since it is allowed to nest rcu_read_lock_sched() calls I don't think
that this patch is necessary.

Bart.