Re: [PATCH 2/2 percpu/for-3.20] percpu_ref: implement percpu_ref_is_dying()

From: Kent Overstreet
Date: Tue Jan 06 2015 - 21:22:07 EST


On Tue, Jan 06, 2015 at 10:24:59AM -0500, Tejun Heo wrote:
> Implement percpu_ref_is_dying() which tests whether the ref is dying
> or dead. This is useful to determine the current state when a
> percpu_ref is used as a cyclic on/off switch via kill and reinit.

Acked-by: Kent Overstreet <kmo@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/