brainstorming about the mmap file and race conditions