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

From: Markus Elfring

Date: Mon May 18 2026 - 10:04:51 EST



> +++ 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