Re: mmap() page swapping location?

From: Juan J. Quintela (quintela@fi.udc.es)
Date: Wed Aug 02 2000 - 07:11:27 EST


>>>>> "richard" == Richard Guenther <richard.guenther@student.uni-tuebingen.de> writes:

Hi

richard> You are wrong wrt MAP_PRIVATE semantics. You really need to mmap
richard> MAP_SHARED to get the file updated: [quoting from SUS2]

richard> When the msync() function is called on MAP_PRIVATE mappings, any modified
richard> data will not be written to the underlying object and will not cause such
richard> data to be made visible to other processes. It is unspecified whether data
richard> in MAP_PRIVATE mappings has any permanent storage locations.

I stand corrected. Thanks for the explanation.

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:08 EST