✓ CI.checkpatch: success for drm/xe: Remove unwanted mutex locking (rev3)

Patchwork patchwork at emeril.freedesktop.org
Wed May 29 21:45:24 UTC 2024


== Series Details ==

Series: drm/xe: Remove unwanted mutex locking (rev3)
URL   : https://patchwork.freedesktop.org/series/134199/
State : success

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit cb07d35c8536fd1c7f1f354c31d06946df7c4298
Author: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
Date:   Wed May 29 14:39:25 2024 -0700

    drm/xe: Remove unwanted mutex locking
    
    Do not hold xef->exec_queue.lock mutex while parsing the xarray
    xef->exec_queue.xa in xe_file_close() as it is not needed and
    will cause an unwanted dependency between this lock and the vm->lock.
    
    This lock protects the exec queue lookup and reference taking which
    doesn't apply to this code path. When FD is closing, IOCTLs presumably
    can't be modifying the xarray.
    
    v2: Update commit text (Matt Brost)
    v3: Add more code comment (Rodrigo Vivi)
    
    Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
    Reviewed-by: Matthew Brost <matthew.brost at intel.com>
    Reviewed-by: Jagmeet Randhawa <jagmeet.randhawa at intel.com>
+ /mt/dim checkpatch 55d6179b96e0390025f2ba101c03b94b50cab7a1 drm-intel
cb07d35c8536 drm/xe: Remove unwanted mutex locking




More information about the Intel-xe mailing list