[RFC v2 05/11] block: add infra to handle dmabuf tokens
Pavel Begunkov
asml.silence at gmail.com
Fri Feb 6 10:01:31 PST 2026
On 2/6/26 15:08, Anuj gupta wrote:
>> +
>> + dma_fence_init(&fence->base, &blk_mq_dma_fence_ops, &fence->lock,
>> + token->fence_ctx, atomic_inc_return(&token->fence_seq));
>> + spin_lock_init(&fence->lock);
>
> nit lock should be initialized before handing its address to
> dma_fence_init()
Good catch, thanks, I'll apply that and other suggestions. And I still
need to address bits Christoph pointed out during review.
--
Pavel Begunkov
More information about the Linux-nvme
mailing list