diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-02-27 23:57:30 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-04 14:36:28 +0100 |
commit | 5730b27e84fdb37353c7cc2b11c24a4f9d73626e (patch) | |
tree | 52ce27bf408495f5287a8d7bba29b7e06b313386 /ipc | |
parent | io_uring: kill unnecessary REQ_F_WORK_INITIALIZED checks (diff) | |
download | linux-5730b27e84fdb37353c7cc2b11c24a4f9d73626e.tar.xz linux-5730b27e84fdb37353c7cc2b11c24a4f9d73626e.zip |
io_uring: move cred assignment into io_issue_sqe()
If we move it in there, then we no longer have to care about it in io-wq.
This means we can drop the cred handling in io-wq, and we can drop the
REQ_F_WORK_INITIALIZED flag and async init functions as that was the last
user of it since we moved to the new workers. Then we can also drop
io_wq_work->creds, and just hold the personality u16 in there instead.
Suggested-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions