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

2024-08-13 Thread Tejun Heo
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_

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

2024-08-13 Thread Tejun Heo
On Tue, Aug 13, 2024 at 06:55:20PM +, Matthew Brost wrote: > 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 workqu

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

2024-08-13 Thread Matthew Brost
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 leakin

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

2024-08-13 Thread Tejun Heo
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_

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

2024-08-11 Thread Ghimiray, Himal Prasad
On 10-08-2024 03:58, 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 (Teju

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

2024-08-09 Thread Matthew Brost
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)