diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-05-17 12:23:41 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-17 13:14:11 -0600 |
commit | a2741c58ac677e5de35bba7dec6376579dd513cd (patch) | |
tree | 99316f456b6a8b9300ecaaf7d0091c104e0683ab /tools/perf/scripts/python/stackcollapse.py | |
parent | 7d41bcb7f32fbeac05d6fab553821a228af18bee (diff) |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions