[PATCH v3 3/5] workqueue: Add interface for user-defined workqueue lockdep map

Tejun Heo tj at kernel.org
Tue Aug 13 19:06:25 UTC 2024


On Fri, Aug 09, 2024 at 03:28:25PM -0700, Matthew Brost wrote:
> Add an interface for a user-defined workqueue lockdep map, which is
> helpful when multiple workqueues are created for the same purpose. This
> also helps avoid leaking lockdep maps on each workqueue creation.
> 
> v2:
>  - Add alloc_workqueue_lockdep_map (Tejun)
> v3:
>  - Drop __WQ_USER_OWNED_LOCKDEP (Tejun)
>  - static inline alloc_ordered_workqueue_lockdep_map (Tejun)
> 
> Cc: Tejun Heo <tj at kernel.org>
> Cc: Lai Jiangshan <jiangshanlai at gmail.com>
> Signed-off-by: Matthew Brost <matthew.brost at intel.com>

Applied 1-3 to wq/for-6.12.

Thanks.

-- 
tejun


More information about the Intel-xe mailing list