diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-04-11 03:05:09 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-12 01:06:20 +0200 |
commit | 82733d168cbd3fe9dab603f05894316b99008924 (patch) | |
tree | eb34dfacd2df84b3683b2cc7bd66c0f2d231a57b /net/unix | |
parent | io_uring: move apoll->events cache (diff) | |
download | linux-82733d168cbd3fe9dab603f05894316b99008924.tar.xz linux-82733d168cbd3fe9dab603f05894316b99008924.zip |
io_uring: stop using io_wq_work as an fd placeholder
There are two reasons why this isn't the best idea:
- It's an odd area to grab a bit of storage space, hence it's an odd area
to grab storage from.
- It puts the 3rd io_kiocb cacheline into the hot path, where normal hot
path just needs the first two.
Use 'cflags' for joint fd/cflags storage. We only need fd until we
successfully issue, and we only need cflags once a request is done and is
completed.
Fixes: 6bf9c47a3989 ("io_uring: defer file assignment")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions