diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-09-03 17:34:56 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-03 17:36:41 -0700 |
commit | 805861ca37c0a6302ebc91f25dfa99618da137e2 (patch) | |
tree | f9d1620bdb28ab0c748cd6a80f3ccaeaa9daa6e2 /pkg/sentry/loader | |
parent | 76e51c8b9add2e8dd7538a9ccd126409c31f7cc0 (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/sentry/loader')
0 files changed, 0 insertions, 0 deletions