← Back to context

Comment by koakuma-chan

19 hours ago

How do you handle read/write errors with mmap?

In my experience, having worked with a large system that used almost exclusively mmap for I/O, you don’t. The process segfaults and is restarted. In practice it almost never happened.