public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gianni Tedesco <giannit@securewave.com>
To: linux-kernel@vger.kernel.org
Subject: mmap(MAP_PRIVATE) question
Date: Wed, 03 Sep 2003 11:34:11 +0200	[thread overview]
Message-ID: <1062581651.489.5.camel@lemsip> (raw)

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>


             reply	other threads:[~2003-09-03  9:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-03  9:34 Gianni Tedesco [this message]
2003-09-03 10:28 ` mmap(MAP_PRIVATE) question Jamie Lokier
2003-09-03 13:37   ` Gianni Tedesco

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1062581651.489.5.camel@lemsip \
    --to=giannit@securewave.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox