[PATCH] D30010: Improve the robustness of mmap

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 16:04:32 PST 2017


ruiu added a comment.

I wonder what this patch is trying to fix on Unix machines. mmap()'ing a file on NFS is not a special thing, and if something goes wrong with NFS, a process will hang whether a file is being used through read(2)/write(2) or mmap. What am I missing?


https://reviews.llvm.org/D30010





More information about the llvm-commits mailing list