Peter Teoh wrote:
when a process mmap() a section of a file into its own process memory,
the process memory will maintain a copy of the data of that section of
the file.

No, it does not maintain a copy.

It mmaps the page cache pages into its own address space.

so...does there exists duplicated buffering?   (one in kernel -
pagecache, and one in userspace - for mmap() content of the file in
process memory)

No, there is no such double buffering.

--
All rights reversed.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to