io-wq: Drop struct io_wqe
authorGabriel Krisman Bertazi <krisman@suse.de>
Wed, 22 Mar 2023 01:16:28 +0000 (22:16 -0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 3 Apr 2023 13:16:15 +0000 (07:16 -0600)
commiteb47943f2238bf3a002128d897f18abb143612d3
tree5220ef5440cbc6b5c447487f1f39e3806a34253a
parentdfd63baf892c016dd0c8c6e99d0973459aabe554
io-wq: Drop struct io_wqe

Since commit 0654b05e7e65 ("io_uring: One wqe per wq"), we have just a
single io_wqe instance embedded per io_wq.  Drop the extra structure in
favor of accessing struct io_wq directly, cleaning up quite a bit of
dereferences and backpointers.

No functional changes intended.  Tested with liburing's testsuite
and mmtests performance microbenchmarks.  I didn't observe any
performance regressions.

Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20230322011628.23359-2-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io-wq.c