Searched hist:e061aed99855ccef2d64f5bdd66996e19d6cf60b (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/vmw_vsock/ |
H A D | vmci_transport_notify.c | diff e061aed99855ccef2d64f5bdd66996e19d6cf60b Fri Aug 19 00:41:35 CDT 2022 Arseniy Krasnov <AVKrasnov@sberdevices.ru> vmci/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 <AVKrasnov@sberdevices.ru> Reviewed-by: Vishnu Dasa <vdasa@vmware.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
|
H A D | vmci_transport_notify_qstate.c | diff e061aed99855ccef2d64f5bdd66996e19d6cf60b Fri Aug 19 00:41:35 CDT 2022 Arseniy Krasnov <AVKrasnov@sberdevices.ru> vmci/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 <AVKrasnov@sberdevices.ru> Reviewed-by: Vishnu Dasa <vdasa@vmware.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
|