pitrou commented on issue #35319:
URL: https://github.com/apache/arrow/issues/35319#issuecomment-1540401538
Let's just consult the Linux `mmap` man page:
```
MAP_PRIVATE
Create a private copy-on-write mapping. Updates to the
mapping are not
visible to other processes mapping the same file, and are
not carried
through to the underlying file. It is unspecified whether
changes made
to the file after the mmap() call are visible in the mapped
region.
```
Since it's a copy-on-write mapping, there would only be any duplication if
the user writes into the mapped area.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]