summaryrefslogtreecommitdiffhomepage
path: root/pkg/state/state.go
diff options
context:
space:
mode:
authorDarcySail <darcysail@gmail.com>2019-10-23 14:26:23 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-23 14:27:53 -0700
commitfbe6b50d5628bc3d522f87eee2abcc5a923df420 (patch)
treeaa239f2e060a8f29efd7805938f90771f9c9609c /pkg/state/state.go
parentde3dbf8a09afdccba75d7ca3c129ce33c569c086 (diff)
Keep minimal available fd to accelerate fd allocation
Use fd.next to store the iteration start position, which can be used to accelerate allocating new FDs. And adding the corresponding gtest benchmark to measure performance. @tanjianfeng COPYBARA_INTEGRATE_REVIEW=https://github.com/google/gvisor/pull/758 from DarcySail:master 96685ec7886dfe1a64988406831d3bc002b438cc PiperOrigin-RevId: 276351250
Diffstat (limited to 'pkg/state/state.go')
0 files changed, 0 insertions, 0 deletions