2019-12-11 23:26:27

by Daniel Jordan

[permalink] [raw]
Subject: Re: [RFC 3/4] workqueue: reap dead pool workqueue on queuing work

On Wed, Dec 11, 2019 at 07:22:29PM +0800, Hillf Danton wrote:
> Release rcu lock to reap dead pool workqueue.

What's to be gained by reaping the pwq (and possibly worker pool and wq) before
__queue_work() retries? It'll just happen after the queueing finishes.