diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-05-17 21:23:41 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-17 22:14:11 +0300 |
commit | a2741c58ac677e5de35bba7dec6376579dd513cd (patch) | |
tree | 99316f456b6a8b9300ecaaf7d0091c104e0683ab /scripts/gdb/linux/interrupts.py | |
parent | 7d41bcb7f32fbeac05d6fab553821a228af18bee (diff) | |
download | linux-a2741c58ac677e5de35bba7dec6376579dd513cd.tar.xz |
io_uring/net: don't retry recvmsg() unnecessarily
If we're doing multishot receives, then we always end up doing two trips
through sock_recvmsg(). For protocols that sanely set msghdr->msg_inq,
then we don't need to waste time picking a new buffer and attempting a
new receive if there's nothing there.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions