summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/sync.go
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2020-06-30 12:23:23 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-30 12:25:03 -0700
commit4784ed46ef0573aef06400e39a286062ba73f368 (patch)
tree87ddcfd1937bfa71c8a854dc61f2ffbb69d6af34 /pkg/sentry/fs/sync.go
parentdce2dfae046cdc29b2ac3b949a76d6b0ee2348a5 (diff)
Avoid multiple atomic loads
...by calling (*tcp.endpoint).EndpointState only once when possible. Avoid wrapping (*sleep.Waker).Assert in a useless func while I'm here. PiperOrigin-RevId: 319074149
Diffstat (limited to 'pkg/sentry/fs/sync.go')
0 files changed, 0 insertions, 0 deletions