summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlmog Khaikin <almogkh@gmail.com>2022-03-21 11:00:59 +0200
committerJens Axboe <axboe@kernel.dk>2022-03-21 06:33:29 -0600
commit649bb75d19c93f5459f450191953dff4825fda3e (patch)
tree6fbdce114ff684f42607f4145e086bbb9a2d3fa9 /tools/perf/scripts/python/export-to-sqlite.py
parentf63cf5192fe3418ad5ae1a4412eba5694b145f79 (diff)
io_uring: fix memory ordering when SQPOLL thread goes to sleep
Without a full memory barrier between the store to the flags and the load of the SQ tail the two operations can be reordered and this can lead to a situation where the SQPOLL thread goes to sleep while the application writes to the SQ tail and doesn't see the wakeup flag. This memory barrier pairs with a full memory barrier in the application between its store to the SQ tail and its load of the flags. Signed-off-by: Almog Khaikin <almogkh@gmail.com> Link: https://lore.kernel.org/r/20220321090059.46313-1-almogkh@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions