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

Reply via email to