diff options
author | Jamie Liu <jamieliu@google.com> | 2020-12-02 21:48:26 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-02 21:50:57 -0800 |
commit | f9339526875fa60d41be285090435bf400ad39e6 (patch) | |
tree | 4a8c2fbcb5c3adc28abd31254ae67dc025724d26 /pkg/sentry/syscalls/linux/vfs2/epoll.go | |
parent | f559db56904cacfe20027d710608e981087c1ddd (diff) |
Remove FileReadWriteSeeker from vfs.
Previous experience has shown that these types of wrappers tends to create two
kinds of problems: hidden allocations (e.g. each call to
FileReadWriteSeeker.Read/Write allocates a usermem.BytesIO on the heap) and
hidden lock ordering problems (e.g. VFS1 splice deadlocks). Since this is only
needed by fsimpl/verity, move it there.
PiperOrigin-RevId: 345377830
Diffstat (limited to 'pkg/sentry/syscalls/linux/vfs2/epoll.go')
0 files changed, 0 insertions, 0 deletions