If I use mmap on some file descriptor fd, will regular calls to read() be aware that there is a memory mapping of the file and read from memory directly?What if mlock() is used after mmap(). Is it correct to say that no subsequent read() on the file will ever need to access the disk?
Do regular reads benefit from mmap?
files;memory;mmap