mbox series

[0/2] io-wq: cancelation race fix and small cleanup in io-wq

Message ID 20240416021054.3940-1-krisman@suse.de (mailing list archive)
Headers show
Series io-wq: cancelation race fix and small cleanup in io-wq | expand

Message

Gabriel Krisman Bertazi April 16, 2024, 2:10 a.m. UTC
Hi Jens,

Two small fixes to the wq path, closing a small race of cancelation with
wq work removal for execution.

Thank you,

Gabriel Krisman Bertazi (2):
  io-wq: write next_work before dropping acct_lock
  io-wq: Drop intermediate step between pending list and active work

 io_uring/io-wq.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Comments

Jens Axboe April 17, 2024, 2:29 p.m. UTC | #1
On 4/15/24 8:10 PM, Gabriel Krisman Bertazi wrote:
> Hi Jens,
> 
> Two small fixes to the wq path, closing a small race of cancelation with
> wq work removal for execution.

Looks good, and cleans it up nicely. Thanks!
Jens Axboe April 17, 2024, 2:29 p.m. UTC | #2
On Mon, 15 Apr 2024 22:10:52 -0400, Gabriel Krisman Bertazi wrote:
> Two small fixes to the wq path, closing a small race of cancelation with
> wq work removal for execution.
> 
> Thank you,
> 
> Gabriel Krisman Bertazi (2):
>   io-wq: write next_work before dropping acct_lock
>   io-wq: Drop intermediate step between pending list and active work
> 
> [...]

Applied, thanks!

[1/2] io-wq: write next_work before dropping acct_lock
      commit: 068c27e32e51e94e4a9eb30ae85f4097a3602980
[2/2] io-wq: Drop intermediate step between pending list and active work
      commit: 24c3fc5c75c5b9d471783b4a4958748243828613

Best regards,