Re: [PATCH] percpu-refcount: relax limit on percpu_ref_reinit()

From: jianchao.wang
Date: Tue Sep 11 2018 - 10:22:31 EST


Hi Ming

On 09/11/2018 04:20 PM, Ming Lei wrote:
> We only check the 'whole counting' at atomic mode, so it is the atomic
> part('ref->count'), please see percpu_ref_put_many(), in which ref->release()
> is only called at atomic mode.
>
> At percpu mode, the ref-count is only decreased/increased on the local CPU.

Yes, I got it.
Thanks for your kindly response.

Sincerely
Jianchao