diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-02-04 13:52:08 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-04 08:05:46 -0700 |
commit | 5280f7e530f71ba85baf90169393196976ad0e52 (patch) | |
tree | efdf0f85b6f1f0b3f167091566701131de8afbf5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ea64ec02b31d5b05ae94ac4d57e38f8a02117c76 (diff) |
io_uring/io-wq: return 2-step work swap scheme
Saving one lock/unlock for io-wq is not super important, but adds some
ugliness in the code. More important, atomic decs not turning it to zero
for some archs won't give the right ordering/barriers so the
io_steal_work() may pretty easily get subtly and completely broken.
Return back 2-step io-wq work exchange and clean it up.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
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