diff options
| author | Jackie Liu <[email protected]> | 2019-10-29 11:16:42 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-11-01 08:36:36 -0600 |
| commit | e9ffa5c2b77edf2689f876b640318b16fc3ea2a7 (patch) | |
| tree | 0c09ee2658611352f73990090afcc6ef8528b92b /tools/perf/scripts/python | |
| parent | 62755e35dfb2b113c52b81cd96d01c20971c8e02 (diff) | |
io_uring: set -EINTR directly when a signal wakes up in io_cqring_wait
We didn't use -ERESTARTSYS to tell the application layer to restart the
system call, but instead return -EINTR. we can set -EINTR directly when
wakeup by the signal, which can help us save an assignment operation and
comparison operation.
Reviewed-by: Bob Liu <[email protected]>
Signed-off-by: Jackie Liu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions