From: Brian Gerst <bgerst@didntduck.org>
To: root@chaos.analogic.com
Cc: "J.A. Magallon" <jamagallon@able.es>,
Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: Writable global section?
Date: Wed, 09 Oct 2002 11:06:43 -0400 [thread overview]
Message-ID: <3DA44603.2000708@didntduck.org> (raw)
In-Reply-To: <Pine.LNX.3.95.1021009103521.3016B-100000@chaos.analogic.com>
Richard B. Johnson wrote:
> I would like to be able to write to that variable and have it seen
> by other tasks, since shared memory is shared memory. It's a shame
> to mmap a shared library upon startup and then have to mmap some
> additional shared memory for some inter-process communication.
There are only two ways to share memory between processes:
- SYSV shared memory
- using clone() to share the VM.
Shared libraries != shared memory. Each mapping of a shared library is
copy-on-write. The purpose of shared libraries is to save memory, not
for IPC.
--
Brian Gerst
next prev parent reply other threads:[~2002-10-09 15:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.95.1021009090100.31255A-100000@chaos.analogic.com>
2002-10-09 13:08 ` Richard B. Johnson
2002-10-09 14:24 ` J.A. Magallon
2002-10-09 14:49 ` Richard B. Johnson
2002-10-09 15:06 ` Brian Gerst [this message]
2002-10-09 15:46 ` Richard B. Johnson
2002-10-09 15:06 ` Andreas Schwab
2002-10-09 15:56 ` Richard B. Johnson
2002-10-09 16:01 ` Andreas Schwab
2002-10-09 23:14 ` Jamie Lokier
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=3DA44603.2000708@didntduck.org \
--to=bgerst@didntduck.org \
--cc=jamagallon@able.es \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.com \
/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®