aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorArseny Krasnov <[email protected]>2021-06-11 14:10:34 +0300
committerDavid S. Miller <[email protected]>2021-06-11 13:32:46 -0700
commit9942c192b256bc11cc903f89f4057bc97434dee9 (patch)
treebaa6aba80f9d5dc1ef2bb77c6d33d77d8fdda483 /tools/perf/scripts/python/sched-migration.py
parent19c1b90e1979c3974cd6a3ec0cbb886a84278d84 (diff)
af_vsock: implement SEQPACKET receive loop
Add receive loop for SEQPACKET. It looks like receive loop for STREAM, but there are differences: 1) It doesn't call notify callbacks. 2) It doesn't care about 'SO_SNDLOWAT' and 'SO_RCVLOWAT' values, because there is no sense for these values in SEQPACKET case. 3) It waits until whole record is received. 4) It processes and sets 'MSG_TRUNC' flag. So to avoid extra conditions for two types of socket inside one loop, two independent functions were created. Signed-off-by: Arseny Krasnov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions