summaryrefslogtreecommitdiffhomepage
path: root/test/cmd/test_app/main.go
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2021-08-19 17:08:02 -0700
committergVisor bot <gvisor-bot@google.com>2021-08-19 17:10:46 -0700
commita77eaf2a9e0539326defc766d748b8eff1d89b0b (patch)
treea551af27c5ea3b702774f76ea66074b471568497 /test/cmd/test_app/main.go
parent3b4bb947517d0d9010120aaa1c3989fd6abf278e (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 'test/cmd/test_app/main.go')
0 files changed, 0 insertions, 0 deletions