Use SHARED flag for mmaped_file (read only memory mapping).