|
|
|
|
|
by wtallis
2076 days ago
|
|
> mmap absolutely copies the file contents into the kernel file system cache which is a buffer Isn't this a bit misleading? mmaping a file doesn't cause the kernel to start loading the whole thing into RAM, it just sets things up for the kernel to later transparently load pages of it on demand, possibly with some prefetching. |
|