summaryrefslogtreecommitdiff
path: root/io_uring/io-wq.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-06-21 12:09:00 +0300
committerJens Axboe <axboe@kernel.dk>2022-07-25 03:39:15 +0300
commit625d38b3fd34c58afb969810c4b3105eabb3b143 (patch)
treed60f1fcae5cd5063a174d6a7644e9e9b2a00b6dc /io_uring/io-wq.c
parent4a0fef62788b69df09267c8e3f3f11d4bb9d50e7 (diff)
downloadlinux-625d38b3fd34c58afb969810c4b3105eabb3b143.tar.xz
io_uring: improve io_run_task_work()
Since SQPOLL now uses TWA_SIGNAL_NO_IPI, there won't be task work items without TIF_NOTIFY_SIGNAL. Simplify io_run_task_work() by removing task->task_works check. Even though looks it doesn't cause extra cache bouncing, it's still nice to not touch it an extra time when it might be not cached. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/75d4f34b0c671075892821a409e28da6cb1d64fe.1655802465.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io-wq.c')
0 files changed, 0 insertions, 0 deletions