Messages in this thread | | | Subject | Re: mmap() page swapping location? | From | "Juan J. Quintela" <> | Date | 02 Aug 2000 22:20:09 +0200 |
| |
>>>>> "chris" == Chris Quinn <cq@htec.demon.co.uk> writes:
Hi
chris> I tested this with a trivial program under 2.2.12-20/gcc 2.91.66, chris> and where MAP_PRIVATE was exchanged for MAP_SHARED the result was different! ie. after an msync(), munmap() and then close(), the accessed chris> file remained unchanged in the former case. chris> How sure are you?!
Sorry, I was corrected, MAP_PRIVATE means that you never write again to the file.
Later, Juan.
-- In theory, practice and theory are the same, but in practice they are different -- Larry McVoy
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |