public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mmap(MAP_PRIVATE) question
@ 2003-09-03  9:34 Gianni Tedesco
  2003-09-03 10:28 ` Jamie Lokier
  0 siblings, 1 reply; 3+ messages in thread
From: Gianni Tedesco @ 2003-09-03  9:34 UTC (permalink / raw)
  To: linux-kernel

Hi all,

>From the mmap(2) manpage it says:

MAP_PRIVATE
Create a private copy-on-write mapping.  Stores to the region do not
affect the  original  file.   It  is  unspecified whether changes made
to the file after the mmap call are visible in the mapped region.

What is linux behaivour in this area? I am guessing if the page is
modified between the call to mmap() and fault-in then the modified copy
is seen by the application? But what about modifications after the page
is already in page-cache?

Thanks.

-- 
Gianni Tedesco <giannit@securewave.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-03 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-03  9:34 mmap(MAP_PRIVATE) question Gianni Tedesco
2003-09-03 10:28 ` Jamie Lokier
2003-09-03 13:37   ` Gianni Tedesco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox