Yo Christian, a while ago we were discussing this problem
dma_fence_set_error(f, -ECANCELED); dma_fence_signal(f); // racy! I think you mentioned that you are considering to redesign the dma_fence API so that users have to take the lock themselves to touch the fence: dma_fence_lock(f); dma_fence_set_error(f, -ECANCELED); dma_fence_signal(f); dme_fence_unlock(f); Is that still up to date? Is there work in progress about that? I discovered that I might need / want that for the Rust abstractions. Regards, P.
