diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2021-10-27 17:22:48 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-27 17:25:46 -0700 |
commit | 8acc3a9bb2225a5af9e5bf587d2a2baad0e5f841 (patch) | |
tree | 24c9464e53c56817bcb0feb4a537d27cbb0d7ee2 /runsc/cmd | |
parent | 9541a5842bf843414d872a539d32ce6e3202bf04 (diff) |
Reduce eventFD notifications on transmit.
When transmitting packets we only need to notify if the peer is not
already processing packets. sharedData region is used to enable/disable
notifications and the peer will disable notifications when its actively
processing packets and enable notifications just before it goes to
sleep waiting on packets. This allows more efficient transmit as the
sharedmem endpoint does not need to notify on eventFD and incur an
expensive host systemcall when the peer is already awake.
PiperOrigin-RevId: 406018843
Diffstat (limited to 'runsc/cmd')
0 files changed, 0 insertions, 0 deletions