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

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