9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: presotto@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] new wrap
Date: Mon,  7 May 2001 13:57:27 -0400	[thread overview]
Message-ID: <20010507175729.B0B0F199F9@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

I was going to call it shmem originally but thought better of it
after the flap over int/void main().

I added it at the request of a piece of Lucent that wants to
be able to have a large in memory database sharable by
unrelated processes.  Any process can see them but segattaching,
reading, and writing uses the file protections.  I may add that
restriction to removing also, haven't decided yet.

In the interest of being neighborly, I added it to the general
distribution.  I made it a separate device mostly because I
don't think its incredibly useful.  It has our normal
shared segment restriction that it must be at the
same virtual address in all processes that use it.
If you have locks in it, there's no mechanism for
backing out the locks held if a process dies.
It's very much a solution to a specific problem...

It's a little nicer than shmem in that
processes on other machines can get at the segment, albeit
with some difficulty, by importing the file system interface.

[-- Attachment #2: Type: message/rfc822, Size: 3244 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 72 bytes --]

I'd assumed it was to assist in the proper implementation of main().


[-- Attachment #2.1.2: Type: message/rfc822, Size: 1474 bytes --]

From: Scott Schwartz <schwartz@bio.cse.psu.edu>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] new wrap
Date: Mon, 07 May 2001 13:41:19 -0400
Message-ID: <20010507174119.21095.qmail@g.bio.cse.psu.edu>

Dave writes:
| This is sort of like '#s' for segments, i.e., segments
| that can be attached by unrelated processes. 

Can you say a few words about what inspired this, and how it's intended to
be used?  Things in #s are always globally visible... ## too?  It reminds
me of SysV shm.

             reply	other threads:[~2001-05-07 17:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-07 17:57 presotto [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-07 17:43 nigel
2001-05-07 17:20 presotto
2001-05-07 17:41 ` Scott Schwartz

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=20010507175729.B0B0F199F9@mail.cse.psu.edu \
    --to=presotto@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /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).