diff options
| author | Pavel Begunkov <[email protected]> | 2025-02-15 00:09:43 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-02-17 12:41:09 +0000 |
| commit | 931dfae19032d13266cf1fac080cec66469a2042 (patch) | |
| tree | 5c855f32a102bb1718dd2c07737385f0d8226af0 /drivers/gpu/drm/meson/meson_encoder_dsi.c | |
| parent | io_uring/zcrx: set pp memory provider for an rx queue (diff) | |
| download | kernel-931dfae19032d13266cf1fac080cec66469a2042.tar.gz kernel-931dfae19032d13266cf1fac080cec66469a2042.zip | |
io_uring/zcrx: throttle receive requests
io_zc_rx_tcp_recvmsg() continues until it fails or there is nothing to
receive. If the other side sends fast enough, we might get stuck in
io_zc_rx_tcp_recvmsg() producing more and more CQEs but not letting the
user to handle them leading to unbound latencies.
Break out of it based on an arbitrarily chosen limit, the upper layer
will either return to userspace or requeue the request.
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: David Wei <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/meson/meson_encoder_dsi.c')
0 files changed, 0 insertions, 0 deletions
