diff options
author | Stefan Bühler <source@stbuehler.de> | 2019-04-24 23:54:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-04-30 17:40:02 +0200 |
commit | 1e84b97b7377bd0198f87b49ad3e396e84bf0458 (patch) | |
tree | 8db2e33c5aabfc341a9b1b5a6d17297747ba67f0 /fs/qnx4 | |
parent | io_uring: fix handling SQEs requesting NOWAIT (diff) | |
download | linux-1e84b97b7377bd0198f87b49ad3e396e84bf0458.tar.xz linux-1e84b97b7377bd0198f87b49ad3e396e84bf0458.zip |
io_uring: fix notes on barriers
The application reading the CQ ring needs a barrier to pair with the
smp_store_release in io_commit_cqring, not the barrier after it.
Also a write barrier *after* writing something (but not *before*
writing anything interesting) doesn't order anything, so an smp_wmb()
after writing SQ tail is not needed.
Additionally consider reading SQ head and writing CQ tail in the notes.
Also add some clarifications how the various other fields in the ring
buffers are used.
Signed-off-by: Stefan Bühler <source@stbuehler.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/qnx4')
0 files changed, 0 insertions, 0 deletions