summaryrefslogtreecommitdiffhomepage
path: root/pkg/gate/gate.go
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2020-09-03 17:34:56 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-03 17:36:41 -0700
commit805861ca37c0a6302ebc91f25dfa99618da137e2 (patch)
treef9d1620bdb28ab0c748cd6a80f3ccaeaa9daa6e2 /pkg/gate/gate.go
parent76e51c8b9add2e8dd7538a9ccd126409c31f7cc0 (diff)
Use fine-grained mutex for stack.cleanupEndpoints.
stack.cleanupEndpoints is protected by the stack.mu but that can cause contention as the stack mutex is already acquired in a lot of hot paths during new endpoint creation /cleanup etc. Moving this to a fine grained mutex should reduce contention on the stack.mu. PiperOrigin-RevId: 330026151
Diffstat (limited to 'pkg/gate/gate.go')
0 files changed, 0 insertions, 0 deletions