aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorDavid Wei <[email protected]>2024-11-20 22:14:52 +0000
committerJens Axboe <[email protected]>2024-11-21 14:11:00 +0000
commitf46b9cdb22f7a167c36b6bcddaef7e8aee2598fa (patch)
tree77367fc483f6da2618919fbb331a2964cc09324f /drivers/fpga/altera-fpga2sdram.c
parentio_uring: add io_local_work_pending() (diff)
downloadkernel-f46b9cdb22f7a167c36b6bcddaef7e8aee2598fa.tar.gz
kernel-f46b9cdb22f7a167c36b6bcddaef7e8aee2598fa.zip
io_uring: limit local tw done
Instead of eagerly running all available local tw, limit the amount of local tw done to the max of IO_LOCAL_TW_DEFAULT_MAX (20) or wait_nr. The value of 20 is chosen as a reasonable heuristic to allow enough work batching but also keep latency down. Add a retry_llist that maintains a list of local tw that couldn't be done in time. No synchronisation is needed since it is only modified within the task context. Signed-off-by: David Wei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions