On Wed, 11 Dec 2019 18:25:04 -0500 Daniel Jordan wrote: > 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. Releasing rcu lock just says that the dead pwp no longer makes sense on the local cpu and it can go now, without the local queuing work AFAICS affected because of irq disabled. But it's hard to say how it will be reclaimed on other cpus, say before this queuing ends, and this does not matter in terms of the local queuing. Hillf