diff options
author | Jens Axboe <axboe@r7625.kernel.dk> | 2024-06-13 21:28:27 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-16 22:54:55 +0200 |
commit | 3474d1b93f897ab33ce160e759afd47d5f412de4 (patch) | |
tree | b9a3cfb1fc551cb18c6082431c99ca0256744685 /kernel/fork.c | |
parent | io_uring: use 'state' consistently (diff) | |
download | linux-3474d1b93f897ab33ce160e759afd47d5f412de4.tar.xz linux-3474d1b93f897ab33ce160e759afd47d5f412de4.zip |
io_uring/io-wq: make io_wq_work flags atomic
The work flags can be set/accessed from different tasks, both the
originator of the request, and the io-wq workers. While modifications
aren't concurrent, it still makes KMSAN unhappy. There's no real
downside to just making the flag reading/manipulation use proper
atomics here.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions