Re: [PATCH 2/4] lib/percpu-refcount: introduce percpu_ref_resurge()

From: Tejun Heo
Date: Tue Sep 18 2018 - 08:50:27 EST


On Tue, Sep 18, 2018 at 06:19:44PM +0800, Ming Lei wrote:
> Now percpu_ref_reinit() can only be done on one percpu refcounter when it
> drops zero. And the limit shouldn't be so strict, and it is quite
> straightforward that we can do it when the refcount doesn't drop zero
> because it is at atomic mode.
>
> This patch introduces percpu_ref_resurge() in which the above limit is
> relaxed, so we may avoid extra change[1] for NVMe timeout's requirement.

For now,

Nacked-by: Tejun Heo <tj@xxxxxxxxxx>

Please see the original discussion thread.

Thanks.

--
tejun