linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Mordae <mordae@anilinux.org>
To: linux-mm@kvack.org
Subject: COW userspace memory mapping question
Date: Tue, 08 Mar 2011 22:38:09 +0100	[thread overview]
Message-ID: <056c7b49e7540a910b8a4f664415e638@anilinux.org> (raw)

Hi,

first let me apologize if I've picked a wrong address.

Question: Is it possible to create a copy-on-write copy
          of a MAP_PRIVATE|MAP_ANONYMOUS memory mapping
          in the user space? Effectively a snapshot of
          memory region.

          I understand that clone() optionally does this
          on much larger scale, but that's not really it.

Best regards,
    Jan Dvorak

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2011-03-08 21:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08 21:38 Mordae [this message]
2011-03-10 19:13 ` COW userspace memory mapping question Christoph Lameter
2011-03-10 21:00   ` Mordae
2011-03-10 21:33     ` Christoph Lameter
2011-03-10 22:11       ` Mordae
2011-03-11 15:15         ` Christoph Lameter
2011-03-11 16:33           ` Jan Dvorak

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=056c7b49e7540a910b8a4f664415e638@anilinux.org \
    --to=mordae@anilinux.org \
    --cc=linux-mm@kvack.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;
as well as URLs for NNTP newsgroup(s).