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

From: Tejun Heo
Date: Thu Jun 13 2013 - 14:09:39 EST

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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at