diff options
author | 2021-03-09 16:32:13 -0700 | |
---|---|---|
committer | 2021-03-10 07:28:43 -0700 | |
commit | e8f98f24549d62cc54bf608c815904a56d4437bc (patch) | |
tree | a545de836d886a769bd0c68c3df1248e1c15135c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: remove unneeded variable 'ret' (diff) | |
download | wireguard-linux-e8f98f24549d62cc54bf608c815904a56d4437bc.tar.xz wireguard-linux-e8f98f24549d62cc54bf608c815904a56d4437bc.zip |
io_uring: always wait for sqd exited when stopping SQPOLL thread
We have a tiny race where io_put_sq_data() calls io_sq_thead_stop()
and finds the thread gone, but the thread has indeed not fully
exited or called complete() yet. Close it up by always having
io_sq_thread_stop() wait on completion of the exit event.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions