diff options
| author | Tejas Upadhyay <[email protected]> | 2025-02-25 04:57:54 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2025-02-26 13:16:21 +0000 |
| commit | 12c2f962fe71f390951d9242725bc7e608f55927 (patch) | |
| tree | 7e374e70f6c3fa654a762ccc884882d7f55f94aa /net/unix/sysctl_net_unix.c | |
| parent | drm/xe/regs: remove a duplicate definition for RING_CTL_SIZE(size) (diff) | |
| download | kernel-12c2f962fe71f390951d9242725bc7e608f55927.tar.gz kernel-12c2f962fe71f390951d9242725bc7e608f55927.zip | |
drm/xe: cancel pending job timer before freeing scheduler
The async call to __guc_exec_queue_fini_async frees the scheduler
while a submission may time out and restart. To prevent this race
condition, the pending job timer should be canceled before freeing
the scheduler.
V3(MattB):
- Adjust position of cancel pending job
- Remove gitlab issue# from commit message
V2(MattB):
- Cancel pending jobs before scheduler finish
Fixes: a20c75dba192 ("drm/xe: Call __guc_exec_queue_fini_async direct for KERNEL exec_queues")
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Tejas Upadhyay <[email protected]>
(cherry picked from commit 18fbd567e75f9b97b699b2ab4f1fa76b7cf268f6)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
