On Tue, 07 May 2024 10:00:01 -0700, Breno Leitao wrote: > Utilize set_bit() and test_bit() on worker->flags within io_uring/io-wq > to address potential data races. > > The structure io_worker->flags may be accessed through various data > paths, leading to concurrency issues. When KCSAN is enabled, it reveals > data races occurring in io_worker_handle_work and > io_wq_activate_free_worker functions. > > [...] Applied, thanks! [1/1] io_uring/io-wq: Use set_bit() and test_bit() at worker->flags commit: 8a565304927fbd28c9f028c492b5c1714002cbab Best regards, -- Jens Axboe