On Wed, 2026-02-11 at 15:17 +0000, Alice Ryhl wrote:
> On Wed, Feb 11, 2026 at 03:07:38PM +0100, Boris Brezillon wrote:
> > 
> > Back to this particular job dependencies use case: we have to embed the
> > DmaFence pointer in some wrapper with the ListLinks element anyway,
> > because DmaFences can be inserted in multiple of those lists in
> > parallel.
> 
> Okay, if that's the case, then the linked list is *really* not the right
> tool for the job.

We have to distinguish what we are talking about here.

For the JobQueue, it takes over a cloned DmaFence and stuffs that into
its own list. Problem solved.

Whether the driver has other clones of that fence in other list is not
relevant because it's not the same list head.

JQ's lists and list heads are internal.

I don't see a problem.

P.

Reply via email to