summaryrefslogtreecommitdiff
path: root/lib/gen_crc32table.c
diff options
context:
space:
mode:
authorStefan Bühler <source@stbuehler.de>2019-04-19 12:57:44 +0300
committerJens Axboe <axboe@kernel.dk>2019-04-22 20:00:55 +0300
commite523a29c4f2703bdb98f68ce1bb256e259fd8d5f (patch)
tree0ba64403279546f48c7a7839c935ddbc110fa7df /lib/gen_crc32table.c
parent35fa71a030caa50458a043560d4814ea9bcd639f (diff)
downloadlinux-e523a29c4f2703bdb98f68ce1bb256e259fd8d5f.tar.xz
io_uring: fix race condition reading SQ entries
A read memory barrier is required between reading SQ tail and reading the actual data belonging to the SQ entry. Userspace needs a matching write barrier between writing SQ entries and updating SQ tail (using smp_store_release to update tail will do). Signed-off-by: Stefan Bühler <source@stbuehler.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/gen_crc32table.c')
0 files changed, 0 insertions, 0 deletions