commit | 24c3fc5c75c5b9d471783b4a4958748243828613 | [log] [tgz] |
---|---|---|
author | Gabriel Krisman Bertazi <krisman@suse.de> | Mon Apr 15 22:10:54 2024 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Apr 17 08:20:32 2024 -0600 |
tree | b5809806d2c09f9f7d8fd1ce05f6ef178539d652 | |
parent | 068c27e32e51e94e4a9eb30ae85f4097a3602980 [diff] |
io-wq: Drop intermediate step between pending list and active work next_work is only used to make the work visible for cancellation. Instead, we can just directly write to cur_work before dropping the acct_lock and avoid the extra hop. Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de> Link: https://lore.kernel.org/r/20240416021054.3940-3-krisman@suse.de Signed-off-by: Jens Axboe <axboe@kernel.dk>