✓ CI.checkpatch: success for drm/xe: Remove unwanted mutex locking (rev4)
Patchwork
patchwork at emeril.freedesktop.org
Thu May 30 00:06:36 UTC 2024
== Series Details ==
Series: drm/xe: Remove unwanted mutex locking (rev4)
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 b7dbfc3220498fd246911e6e40e0bbf3ef324ca1
Author: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
Date: Wed May 29 15:16:39 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)
v4: Further expand code comment (Rodirgo 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>
Acked-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
+ /mt/dim checkpatch 55d6179b96e0390025f2ba101c03b94b50cab7a1 drm-intel
b7dbfc322049 drm/xe: Remove unwanted mutex locking
More information about the Intel-xe
mailing list