Date: Thu, 13 Apr 2023 14:07:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270810 --- Comment #2 from email@example.com --- Well, most writes are updated on the server, (and all seem to be if the program performs other activity before exiting) but pages get randomly missed if the program exits soon after ther writes. Not guaranteeing the writes seems completely against the posix standard which states: The mmap() function adds an extra reference to the file associated with the file descriptor fildes which is not removed by a subsequent close() on that file descriptor. This reference is removed when there are no more mappings to the file. Also see this stackoverflow question https://stackoverflow.com/questions/17490033/do-i-need-to-keep-a-file-open-after-calling-mmap-on-it -- You are receiving this mail because: You are the assignee for the bug.