[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171510945496.45805.5070549169318056486.b4-ty@kernel.dk>
Date: Tue, 07 May 2024 13:17:34 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>,
Breno Leitao <leitao@...ian.org>
Cc: christophe.jaillet@...adoo.fr, paulmck@...nel.org,
io-uring@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] io_uring/io-wq: Use set_bit() and test_bit() at
worker->flags
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
Powered by blists - more mailing lists