Re: [PATCH v20 1/4] rust: drm: gem: shmem: Add DmaResvGuard helper

From: Gary Guo

Date: Fri Jun 12 2026 - 14:43:10 EST


On Wed Jun 10, 2026 at 5:21 PM BST, Lyude Paul wrote:
> Just a temporary holdover to make locking/unlocking the dma_resv lock much
> easier.
>
> Signed-off-by: Lyude Paul <lyude@xxxxxxxxxx>
> Co-authored-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>

Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>

> ---
> V17:
> * Fix format of commit message title
> V19:
> * Add NotThreadSafe to DmaResvGuard
> V20:
> * s/inline(always)/inline/
>
> rust/kernel/drm/gem/shmem.rs | 39 ++++++++++++++++++++++++++++++++++--
> 1 file changed, 37 insertions(+), 2 deletions(-)