diff options
author | Jamie Liu <jamieliu@google.com> | 2021-08-19 17:08:02 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-19 17:10:46 -0700 |
commit | a77eaf2a9e0539326defc766d748b8eff1d89b0b (patch) | |
tree | a551af27c5ea3b702774f76ea66074b471568497 /pkg/sentry/state/state_unsafe.go | |
parent | 3b4bb947517d0d9010120aaa1c3989fd6abf278e (diff) |
Use MM-mapped I/O instead of buffered copies in gofer.specialFileFD.
The rationale given for using buffered copies is still valid, but it's unclear
whether holding MM locks or allocating buffers is better in practice, and the
former is at least consistent with gofer.regularFileFD (and VFS1), making
performance easier to reason about.
PiperOrigin-RevId: 391877913
Diffstat (limited to 'pkg/sentry/state/state_unsafe.go')
0 files changed, 0 insertions, 0 deletions