diff options
| author | Ofir Bitton <[email protected]> | 2021-08-30 15:02:09 +0300 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2021-09-14 15:00:03 +0300 |
| commit | d53c66594dc7606b191bb2976901a691d291a316 (patch) | |
| tree | 96c645eb65a227e51abb0fab7481e9cdb7cd5f05 /tools/perf/scripts/python/bin | |
| parent | 25a1433216489de4abc889910f744e952cb6dbae (diff) | |
habanalabs: fix potential race in interrupt wait ioctl
We have a potential race where a user interrupt can be received
in between user thread value comparison and before request was
added to wait list. This means that if no consecutive interrupt
will be received, user thread will timeout and fail.
The solution is to add the request to wait list before we
perform the comparison.
Signed-off-by: Ofir Bitton <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions