Re: [PATCHSET wq/for-6.9,6.10] workqueue: Implement disable/enable_work()

From: Tejun Heo
Date: Tue Feb 20 2024 - 15:26:23 EST


On Fri, Feb 16, 2024 at 08:04:41AM -1000, Tejun Heo wrote:
> 0001-workqueue-Cosmetic-changes.patch
> 0002-workqueue-Use-rcu_read_lock_any_held-instead-of-rcu_.patch
> 0003-workqueue-Rename-__cancel_work_timer-to-__cancel_tim.patch
> 0004-workqueue-Reorganize-flush-and-cancel-_sync-function.patch
> 0005-workqueue-Use-variable-name-irq_flags-for-saving-loc.patch
> 0006-workqueue-Introduce-work_cancel_flags.patch
> 0007-workqueue-Clean-up-enum-work_bits-and-related-consta.patch
> 0008-workqueue-Factor-out-work_grab_pending-from-__cancel.patch
> 0009-workqueue-Remove-clear_work_data.patch
> 0010-workqueue-Make-flags-handling-consistent-across-set_.patch
> 0011-workqueue-Preserve-OFFQ-bits-in-cancel-_sync-paths.patch
> 0012-workqueue-Implement-disable-enable-for-delayed-work-.patch
> 0013-workqueue-Remove-WORK_OFFQ_CANCELING.patch
> 0014-workqueue-Remember-whether-a-work-item-was-on-a-BH-w.patch
> 0015-workqueue-Update-how-start_flush_work-is-called.patch
> 0016-workqueue-Allow-cancel_work_sync-and-disable_work-fr.patch
> 0017-r8152-Convert-from-tasklet-to-BH-workqueue.patch
>
> 0001-0010 are cleanup and prep patches with the only functional change being
> the use of rcu_read_lock_any_held() instead of rcu_read_lock() in 0002. I'll
> apply them to wq/for-6.9 unless there are objections. I thought about making
> these a separate patch series but the cleanups make more sense as a part of
> this series.

Lai, would you mind reviewing patches 0001-00010? If you're okay, I'll apply
them to wq/for-6.9 and then post the v2 patchset with the rest of the
patches updated to reflect your reviews.

Thanks.

--
tejun