diff options
author | Jamie Liu <jamieliu@google.com> | 2020-09-09 18:37:29 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-09 18:39:23 -0700 |
commit | 2c7df1a9a5cd5288404308e8f0775499d68a0b13 (patch) | |
tree | 7bd08b38c9960d64277a2e190156a086d172715e /pkg/sentry/syscalls/epoll.go | |
parent | f949951144dc11391804ddc89042a1e9ce800972 (diff) |
Don't write VFS2 gofer client timestamps back on dentry destruction.
This feature is too expensive for runsc, even with setattrclunk, because
fsgofer.localFile.SetAttr() ends up needing to call reopenProcFD(), incurring
two string allocations for the FD pathname, an fd.FD allocation, and two calls
to runtime.SetFinalizer() when the fd.FD is created and closed respectively
(b/133767962) (plus the actual cost of the syscalls, which is negligible).
PiperOrigin-RevId: 330843012
Diffstat (limited to 'pkg/sentry/syscalls/epoll.go')
0 files changed, 0 insertions, 0 deletions