Re: regression 4.4: deadlock in with cgroup percpu_rwsem

From: Christoph Hellwig
Date: Tue Jan 26 2016 - 11:41:28 EST


On Tue, Jan 26, 2016 at 10:28:46AM -0500, Tejun Heo wrote:
> Hmmm... why do you need to call percpu_ref_exit() from process
> context? All it does is freeing the percpu counter and resetting the
> state, both of which can be done from any context.

I checked and that's true indeed. You cought me doing cargo cult
programming as the callers I looked at already do this.