Re: mmap() page swapping location?

From: Juan J. Quintela (quintela@fi.udc.es)
Date: Wed Aug 02 2000 - 15:20:09 EST


>>>>> "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/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:10 EST