Messages in this thread | | | Subject | Re: mmap() page swapping location? | From | "Juan J. Quintela" <> | Date | 02 Aug 2000 14:11:27 +0200 |
| |
>>>>> "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/
| |