Re: [PATCH percpu/for-3.11 2/2] percpu-refcount: implement percpu_ref_cancel_init()

Tejun Heo
2013-06-13T18:09:32Z

On Wed, Jun 12, 2013 at 09:00:19PM -0700, Kent Overstreet wrote:
> On Wed, Jun 12, 2013 at 08:58:31PM -0700, Tejun Heo wrote:
> > At first I named it percpu_ref_free() but it looked too symmetric to
> > init, more so than kill, so I was worried that people might get
> > confused that this is the normal interface to shutdown a percpu
> > refcnt, so the weird cancel_init name and further restriction on its
> > usage.
>
> ...Yeah, confusion with _kill() is a good point. Ok, cancel_init() it
> is.

Applied both patches to percpu/for-3.11. Added a paragraph explaining
the weird naming and usage restriction just in case.

Thanks.

--
tejun