On Tue, Jul 30, 2024 at 10:53:38PM +0000, Matthew Brost wrote: > I didn't want to change the export alloc_workqueue() arguments so I went > with this approach. Are you suggesting export a new function > alloc_workqueue_lockdep_map() which will share an internal > implementation with the existing alloc_workqueue() but passes in a > lockdep map? That could work. Yeah, add a new exported function which takes lockdep_map and make alloc_workqueue() to call that with the embedded map. No need to make the latter inline either. Thanks. -- tejun