diff options
author | Arseniy Krasnov <[email protected]> | 2022-08-19 05:39:24 +0000 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-08-23 10:43:11 +0200 |
commit | 39f1ed33a4489e2f7a55d5a96576c73af3529461 (patch) | |
tree | 3241a1596ac5512dba42ccfb1ee1e261d7d6a813 /tools/perf/scripts/python/flamegraph.py | |
parent | f2fdcf67aceb1a7d5e0661cb7ca95cda68d3014a (diff) |
virtio/vsock: check SO_RCVLOWAT before wake up reader
This adds extra condition to wake up data reader: do it only when number
of readable bytes >= SO_RCVLOWAT. Otherwise, there is no sense to kick
user,because it will wait until SO_RCVLOWAT bytes will be dequeued. This
check is performed in vsock_data_ready().
Signed-off-by: Arseniy Krasnov <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions