aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2017-10-30 15:40:59 -0700
committerBoris Ostrovsky <[email protected]>2017-10-31 09:05:53 -0400
commit45ddce214a797de65c0418bebf90c1b564c3ee3d (patch)
tree0052d1e964d166a212d461ffba2e020d8398a2e5 /tools/perf/scripts/python/export-to-postgresql.py
parent9774c6cca26610d065a75d2ac8c5e3fcf0a209b3 (diff)
xen/pvcalls: implement sendmsg
Send data to an active socket by copying data to the "out" ring. Take the active socket out_mutex so that only one function can access the ring at any given time. If not enough room is available on the ring, rather than returning immediately or sleep-waiting, spin for up to 5000 cycles. This small optimization turns out to improve performance significantly. Signed-off-by: Stefano Stabellini <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions