lkml.org 
[lkml]   [2000]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: mmap() page swapping location?
From
Date
>>>>> "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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.080 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site