From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: new IPC mechanism ideas
Date: 10 Jul 2001 20:25:40 -0700 [thread overview]
Message-ID: <9iggvk$ndh$1@cesium.transmeta.com> (raw)
In-Reply-To: <20010711014918.76554.qmail@web14404.mail.yahoo.com>
Followup to: <20010711014918.76554.qmail@web14404.mail.yahoo.com>
By author: Rajeev Bector <rajeev_bector@yahoo.com>
In newsgroup: linux.dev.kernel
>
> We are planning to develop a new IPC mechanism based on shared
> memory. The memory is allocated by a device driver in the kernel and
> mapped to various processes read only. Processes talk to the driver
> to write to the memory but they can directly read the memory (so its
> a 1-copy IPC mechanism).
>
> We also want to make this IPC mechanism persistent across
> application restarts. So that if an application crashes, when it
> comes back up, it can remap to its old queues and get its messages.
>
> Does anyone have experiences building such a mechanism ? Any
> pointers to reading material would be really appreciated ?
>
Why not just use mmap() on a file? That way you can even make it
zero-copy. Otherwise, mmap() readonly in all but one process ("the
driver").
Nothing needed in the kernel that isn't already there...
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
next prev parent reply other threads:[~2001-07-11 3:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-11 1:49 new IPC mechanism ideas Rajeev Bector
2001-07-11 3:25 ` H. Peter Anvin [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-07-12 0:10 Rajeev Bector
2001-07-12 0:49 ` H. Peter Anvin
2001-07-12 0:55 ` Rajeev Bector
2001-07-12 0:57 ` H. Peter Anvin
2001-07-12 1:00 ` Alexander Viro
2001-07-12 1:02 ` Rajeev Bector
2001-07-12 1:07 ` H. Peter Anvin
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='9iggvk$ndh$1@cesium.transmeta.com' \
--to=hpa@zytor.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 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.