diff options
| author | Olivier Langlois <olivier@trillion01.com> | 2024-10-13 14:28:24 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2024-11-06 13:55:38 -0700 |
| commit | 2f3cc8e441c9f657ff036c56baaab7dddbd0b350 (patch) | |
| tree | 7a0388250c5486aeb3369af65bac9a8bc8eec712 /tools/perf/scripts/python/stackcollapse.py | |
| parent | io_uring: prevent speculating sq_array indexing (diff) | |
| download | linux-2f3cc8e441c9f657ff036c56baaab7dddbd0b350.tar.gz linux-2f3cc8e441c9f657ff036c56baaab7dddbd0b350.zip | |
io_uring/napi: protect concurrent io_napi_entry timeout accesses
io_napi_entry timeout value can be updated while accessed from the poll
functions.
Its concurrent accesses are wrapped with READ_ONCE()/WRITE_ONCE() macros
to avoid incorrect compiler optimizations.
Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Link: https://lore.kernel.org/r/3de3087563cf98f75266fd9f85fdba063a8720db.1728828877.git.olivier@trillion01.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
