diff options
| author | Andreas Gruenbacher <[email protected]> | 2022-12-04 12:02:39 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2022-12-06 15:06:31 +0000 |
| commit | 97236ad5a68c6b7603cea2ad01c588887e5cb961 (patch) | |
| tree | 00fd117866ac8df5359bd118f371d6fd1a8c5347 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | gfs2: Make gfs2_glock_hold return its glock argument (diff) | |
| download | kernel-97236ad5a68c6b7603cea2ad01c588887e5cb961.tar.gz kernel-97236ad5a68c6b7603cea2ad01c588887e5cb961.zip | |
gfs2: Avoid dequeuing GL_ASYNC glock holders twice
When a locking request fails, the associated glock holder is
automatically dequeued from the list of active and waiting holders. For
GL_ASYNC locking requests, this will obviously happen asynchronously
and it can race with attempts to cancel that locking request via
gfs2_glock_dq(). Therefore, don't forget to check if a locking request
has already been dequeued in gfs2_glock_dq().
Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
