diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-03-04 16:14:09 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-04 11:39:03 -0700 |
commit | dc026a73c7221b4d9d146ed0bde69ff578ebe8dc (patch) | |
tree | b88bb2f26281b2208b3dd3363c98543b7e6a975a /net/ipv4 | |
parent | 7a743e225b2a9da772b28a50031e1ccd8a8ce404 (diff) | |
download | linux-dc026a73c7221b4d9d146ed0bde69ff578ebe8dc.tar.gz |
io-wq: shuffle io_worker_handle_work() code
This is a preparation patch, it adds some helpers and makes
the next patches cleaner.
- extract io_impersonate_work() and io_assign_current_work()
- replace @next label with nested do-while
- move put_work() right after NULL'ing cur_work.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions