Sub: Reserving a chunk of memory exclusively for virtual mapping a file
Message:
Hi,
Can any one provide me some insight into this issue: I have mapped
(mmap) a big file (about 256 MB) kept in tempfs. I also have mmaped a
chunk of physical ram (64 MB). Is it possible to collide these two
chunks such that linux does all the paging for the file into the chunk
of physical memory that i have mmaped, and if i refer to the file, the
contents get loaded into the chunk of physical memory that i have
mmaped?
Any ideas and help is appreciated.
-Anurag