diff options
| author | Pavel Begunkov <[email protected]> | 2023-06-23 11:23:26 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-06-23 14:19:39 +0000 |
| commit | 91c7884ac9a92ffbf78af7fc89603daf24f448a9 (patch) | |
| tree | 28e371d107750ca053e4a4c8e814245136061026 /lib/string_helpers.c | |
| parent | io_uring: don't batch task put on reqs free (diff) | |
| download | kernel-91c7884ac9a92ffbf78af7fc89603daf24f448a9.tar.gz kernel-91c7884ac9a92ffbf78af7fc89603daf24f448a9.zip | |
io_uring: remove IOU_F_TWQ_FORCE_NORMAL
Extract a function for non-local task_work_add, and use it directly from
io_move_task_work_from_local(). Now we don't use IOU_F_TWQ_FORCE_NORMAL
and it can be killed.
As a small positive side effect we don't grab task->io_uring in
io_req_normal_work_add anymore, which is not needed for
io_req_local_work_add().
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/2e55571e8ff2927ae3cc12da606d204e2485525b.1687518903.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
