From: "Christoph Rohland" <cr@sap.com>
To: "'Stas Sergeev'" <stsp@aknet.ru>, "'Hugh Dickins'" <hugh@veritas.com>
Cc: "'Andrew Morton'" <akpm@osdl.org>, <linux-kernel@vger.kernel.org>
Subject: RE: [patch][rfc] expandable anonymous shared mappings
Date: Wed, 23 Jun 2004 14:23:56 +0300 [thread overview]
Message-ID: <054d01c45914$93435d20$1d751e0a@P105541> (raw)
In-Reply-To: <40D55D13.20803@aknet.ru>
Hi Stas, Hugh,
> The trick is that I am setting the old_len arg
> of mremap() to 0. This means that the new mapping
> is created while the old one is *not* being
> destroyed. So I get multiple virtual memory
> areas referencing the same shared memory region,
> lets call them "aliases".
I would propose you use the posix shm API for what you want to do and leave
anonymous shared memory as a special case of this like it is...
Keep it simple and stupid!
Just my 2cts
Christoph
next prev parent reply other threads:[~2004-06-23 11:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-16 18:12 [patch][rfc] expandable anonymous shared mappings Stas Sergeev
2004-06-18 20:46 ` Hugh Dickins
2004-06-19 9:07 ` Stas Sergeev
2004-06-20 0:20 ` Hugh Dickins
2004-06-20 9:46 ` Stas Sergeev
2004-06-23 11:23 ` Christoph Rohland [this message]
2004-06-23 18:45 ` Stas Sergeev
2004-06-28 14:25 ` Christoph Rohland
2004-06-28 14:22 ` Hugh Dickins
2004-06-28 18:48 ` Stas Sergeev
2004-06-28 21:44 ` Hugh Dickins
2004-06-29 17:06 ` Stas Sergeev
2004-06-29 17:41 ` Hugh Dickins
2004-06-29 19:03 ` Stas Sergeev
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='054d01c45914$93435d20$1d751e0a@P105541' \
--to=cr@sap.com \
--cc=akpm@osdl.org \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stsp@aknet.ru \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.