aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-06-17 18:14:07 +0100
committerJens Axboe <axboe@kernel.dk>2021-06-18 09:22:02 -0600
commitebd0df2e63426bbd9ed50966e888c87eac88fc30 (patch)
tree816227ee88250df69422c7f1b0006f404d6b6fc0 /lib/test_fortify/write_overflow-memcpy.c
parent3f18407dc6f2db0968daaa36c39a772c2c9f8ea7 (diff)
io_uring: optimise task_work submit flushing
tctx_task_work() tries to fetch a next batch of requests, but before it would flush completions from the previous batch that may be sub-optimal. E.g. io_req_task_queue() executes a head of the link where all the linked may be enqueued through the same io_req_task_queue(). And there are more cases for that. Do the flushing at the end, so it can cache completions of several waves of a single tctx_task_work(), and do the flush at the very end. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/3cac83934e4fbce520ff8025c3524398b3ae0270.1623949695.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions