Re: [GIT PULL] workqueue: Changes for v6.11

From: Lai Jiangshan
Date: Mon Jul 15 2024 - 12:03:32 EST


Hello

On Mon, Jul 15, 2024 at 12:43 PM Tejun Heo <tj@xxxxxxxxxx> wrote:

> Lai Jiangshan (20):
> workqueue: Avoid nr_active manipulation in grabbing inactive items
> workqueue: Reap workers via kthread_stop() and remove detach_completion
> workqueue: Don't bind the rescuer in the last working cpu
> workqueue: Detach workers directly in idle_cull_fn()
> workqueue: Remove useless pool->dying_workers
> workqueue: Update cpumasks after only applying it successfully
> workqueue: Simplify goto statement
> workqueue: Register sysfs after the whole creation of the new wq
> workqueue: Make rescuer initialization as the last step of the creation of a new wq
> workqueue: Move kthread_flush_worker() out of alloc_and_link_pwqs()
> workqueue: Put PWQ allocation and WQ enlistment in the same lock C.S.
> workqueue: Init rescuer's affinities as the wq's effective cpumask
> workqueue: Add wq_online_cpumask
> workqueue: Simplify wq_calc_pod_cpumask() with wq_online_cpumask

> workqueue: Remove cpus_read_lock() from apply_wqattrs_lock()

Sorry about it.

I'm writing a fix to fix this change reported by
https://lore.kernel.org/lkml/202407141846.665c0446-lkp@xxxxxxxxx/
to remove the unneeded lockdep_assert_cpus_held().

thanks
Lai