aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArseny Krasnov <[email protected]>2021-06-11 14:12:38 +0300
committerDavid S. Miller <[email protected]>2021-06-11 13:32:47 -0700
commit44931195a5412a97c46d299227fbabad4e09010d (patch)
tree921d8fb048422460188e43819bc50909931462b5 /tools/perf/scripts/python
parentf07b2a5b04d4a50d931a0afe4e3e114ce09a2e4b (diff)
virtio/vsock: dequeue callback for SOCK_SEQPACKET
Callback fetches RW packets from rx queue of socket until whole record is copied(if user's buffer is full, user is not woken up). This is done to not stall sender, because if we wake up user and it leaves syscall, nobody will send credit update for rest of record, and sender will wait for next enter of read syscall at receiver's side. So if user buffer is full, we just send credit update and drop data. Signed-off-by: Arseny Krasnov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions