diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-09-03 17:34:56 -0700 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-09-09 17:53:10 -0700 |
commit | 4d5627f76346e8afbab1506b8151c7ccb3f82f16 (patch) | |
tree | d9e3817ddc07f5b10b833674765f00a62656ddd9 /pkg/sentry/fsimpl | |
parent | f6d2444ed32ffef47ccc72a595d97721f3fa0561 (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/fsimpl')
0 files changed, 0 insertions, 0 deletions