diff options
author | Nayana Bidari <nybidari@google.com> | 2020-09-15 13:39:47 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-15 13:43:50 -0700 |
commit | 7f89a26e18edfe4335eaab965fb7a03eaebb2682 (patch) | |
tree | 8410c7967fff59c0660a5453cb021e678e56417a /test/perf/linux/sleep_benchmark.cc | |
parent | 0d790cbaea5cd40ceabdf8f59978efff1a0626f1 (diff) |
Release FDTable lock before dropping the fds.
This is needed for SO_LINGER, where close() is blocked for linger timeout and
we are holding the FDTable lock for the entire timeout which will not allow
us to create/delete other fds. We have to release the locks and then drop the
fds.
PiperOrigin-RevId: 331844185
Diffstat (limited to 'test/perf/linux/sleep_benchmark.cc')
0 files changed, 0 insertions, 0 deletions