a question of mmap() of files into memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

but then this is pagecache which cache the physically opened file, right?

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

Correct?   So so...then it looks like a lot of duplicated stuff .....

-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux