From: Peter Samuelson <peter@cadcamlab.org>
To: Peter.Ronnquist@nokia.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: shared memory, mmap not recommended?
Date: Tue, 5 Dec 2000 01:43:41 -0600 [thread overview]
Message-ID: <20001205014340.C6567@cadcamlab.org> (raw)
In-Reply-To: <9524EA4E18D6D2119FEA0008C7C5A006BE4A77@lneis01nok>
In-Reply-To: <9524EA4E18D6D2119FEA0008C7C5A006BE4A77@lneis01nok>; from Peter.Ronnquist@nokia.com on Tue, Dec 05, 2000 at 09:36:50AM +0200
[Linus]
> > (otherwise I'll just end up disabling shared mmap - I doubt anybody
> > really uses it anyway, but it would be more polite to just support
> > it).
[Peter Rönnquist]
> I was thinking about using mmap for shared mememory in my program,
> but now I am reconsidering. Is the System V or Posix mechanism for
> shared memory a better(it will be supported in 2.4) choice?
Linus was talking about shared mmap on a file in an smbfs filesystem.
Rather different from what you are talking about. For regular shared
memory, shared mmap should be OK if you actually need backing store
(i.e. the state you are sharing is persistent). Often this is not the
case, in which case POSIX shm might be best.
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-12-05 8:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-05 7:36 Peter.Ronnquist
2000-12-05 7:43 ` Peter Samuelson [this message]
2000-12-05 8:02 Peter.Ronnquist
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=20001205014340.C6567@cadcamlab.org \
--to=peter@cadcamlab.org \
--cc=Peter.Ronnquist@nokia.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
all inboxes | Powered by JetHome®