aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorStefan Bühler <[email protected]>2019-04-24 23:54:18 +0200
committerJens Axboe <[email protected]>2019-04-30 09:40:02 -0600
commit115e12e58dbc055e98c965e3255aed7b20214f95 (patch)
treebe290c72e31a400bb1462eb4cacab2e4c8e64085 /lib/test_overflow.c
parent4f7067c3fb7f2974363a28c597a41949d971af02 (diff)
io_uring: remove unnecessary barrier before reading cq head
The memory operations before reading cq head are unrelated and we don't care about their order. Document that the control dependency in combination with READ_ONCE and WRITE_ONCE forms a barrier we need. Signed-off-by: Stefan Bühler <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions