[PATCH v3 3/5] workqueue: Add interface for user-defined workqueue lockdep map
Matthew Brost
matthew.brost at intel.com
Tue Aug 13 18:55:20 UTC 2024
On Tue, Aug 13, 2024 at 08:52:26AM -1000, Tejun Heo wrote:
> 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>
>
> 1-3 look fine to me. Would applying them to wq/for-6.12 and pulling them
> from the dri tree work?
>
Yes, I wanted to get this into 6.12 as I believe we are removing
forceprobe for our driver and it would be good to have this in for that.
Any idea what this is about though [1]?
Matt
[1] https://patchwork.freedesktop.org/patch/607769/?series=136701&rev=3#comment_1105151
> Thanks.
>
> --
> tejun
More information about the dri-devel
mailing list