summaryrefslogtreecommitdiff
path: root/rust/helpers/err.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-10-09 15:16:29 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2025-10-24 08:45:37 +0200
commit33ba21e9e1baac2c1b2d4a01d7529daf1c7ce344 (patch)
tree249d3429bccebd7c12fd35235070011174eba8ac /rust/helpers/err.c
parenta16f6ba43d9d19996ace3aa08218fa399009f4b7 (diff)
drm/log: Do not hold lock across drm_client_release()
When calling drm_client_release(), the client is already quiescent. Internal locks should therefore be dropped before the caller releases the client. In the case of the DRM log, concurrency originates from the console or from client events. The console has been unregistered in the previous line. The caller of the unregister callback, drm_log_client_unregister(), holds clientlist_mutex from struct drm_device to protect against concurrent client events. It is therefore safe to release the client without holding locks. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>> Link: https://lore.kernel.org/r/20251009132006.45834-3-tzimmermann@suse.de
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions