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.deSigned-off-by: Jens Axboe <axboe@kernel.dk>
Showing
Please register or sign in to comment