[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZqlvtJs6lmEwqgzv@DUT025-TGLU.fm.intel.com>
Date: Tue, 30 Jul 2024 22:56:52 +0000
From: Matthew Brost <matthew.brost@...el.com>
To: Tejun Heo <tj@...nel.org>
CC: <intel-xe@...ts.freedesktop.org>, <dri-devel@...ts.freedesktop.org>,
<linux-kernel@...r.kernel.org>, <jiangshanlai@...il.com>,
<christian.koenig@....com>, <ltuikov89@...il.com>, <daniel@...ll.ch>
Subject: Re: [RFC PATCH 1/3] workqueue: Add interface for user-defined
workqueue lockdep map
On Tue, Jul 30, 2024 at 12:56:17PM -1000, Tejun Heo wrote:
> 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.
>
Sure, let me do that.
Matt
> Thanks.
>
> --
> tejun
Powered by blists - more mailing lists