Re: mmap doubt??

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

 




I have some doubt regarding mmap function...

 As it is a known fact that when a file is mmap'd at that time no
physical memory is allocated and when the process tries to accesses
the data of mmap'd file at that time "page fault" occurs  and then the
data is brought from disk to RAM.
This is what is called as demand

Could you please provide me reference where you read that mmap()
implements on demand memory allocation?

thanks,

Rick

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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