diff options
author | Felix Kuehling <[email protected]> | 2017-10-27 19:35:23 -0400 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2017-10-27 19:35:23 -0400 |
commit | fe528c13acc764965929b7fcb5fadf2c15b57373 (patch) | |
tree | 60affa2a40e5b33961f787dbff83491320a0e414 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | fdf0c8332a0309ac619e22e82b6014c77b2a3518 (diff) |
drm/amdkfd: Fix event destruction with pending waiters
When an event with pending waiters is destroyed, those waiters may
end up sleeping forever unless they are notified and woken up.
Implement the notification by clearing the waiter->event pointer,
which becomes invalid anyway, when the event is freed, and waking
up the waiting tasks.
Waiters on an event that's destroyed return failure.
Signed-off-by: Felix Kuehling <[email protected]>
Acked-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions