Mmap () is one way to manage the relationship between {address, physical memory, disk blocks}. All three members of this association are resources. The link is stored inside page table entries (PTE)
What mmap () really does:
- [] . ( )
- PTE
- PTE mmap() ed
- [] ()
- [] .
(3 5) , mmap(). (fd -1: , start-address NULL: mmap () )
mmap() , . ( , , COW,...)
swapspace , , . , , . ( ) , . ( : mmap() )