[PATCH v3 05/10] lib: add dmabuf token infrastructure

Markus Elfring Markus.Elfring at web.de
Mon May 18 07:02:30 PDT 2026


…
> +++ b/lib/io_dmabuf_token.c
> @@ -0,0 +1,272 @@
…
> +static void io_dmabuf_map_release_work(struct work_struct *work)
> +{
…
> +	dma_resv_lock(dmabuf->resv, NULL);
> +	token->dev_ops->unmap(token, map);
> +	dma_resv_unlock(dmabuf->resv);
…

How do you think about to apply another lock guard?

Regards,
Markus



More information about the Linux-nvme mailing list