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

chris> I don't think MAP_PRIVATE quite fits the bill because pages
chris> become divorced from the file; msync() and munmap() seem no
chris> longer to reflect changes back to disk. I want to keep that
chris> association as it is efficient.

not at all, the only differece between MAP_PRIVATE and MAP_SHARED is
that you need to do an msync with MAP_PRIVATE to write to the disk,
with MAP_SHARED the write to the disk will be an any time.

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.059 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site