public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Interprocess shared memory .... but file backed?
@ 2002-03-08 15:08 Christopher Quinn
  2002-03-08 15:32 ` Alan Cox
  2002-03-08 15:51 ` Richard B. Johnson
  0 siblings, 2 replies; 6+ messages in thread
From: Christopher Quinn @ 2002-03-08 15:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: Christopher Quinn

Hello,

I know that a combination of mmap/shmem can be used to 
achieve interprocess shared memory (notably Ralf 
Engelschall's MM library).
However as far as I can tell this is anonymous memory only.
Are there any options if one initially maps a disk file via 
mmap (in particular MAP_PRIVATE) for sharing that vm, such 
that any access by a member of the sharing process group 
will fault in the relevant file data page after which writes 
to it are seen by all?

Of course clone(2) will give the necessary sharing of page 
tables but my ideal is for sharing only of specified areas 
of vm, not everything.

Anyone know of a way of doing this?

Thanks,
Chris Quinn

PS. I'm not subscribed! please ensure you CC. me!!


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <Pine.LNX.4.33.0203081049360.15002-100000@coffee.psychology.mcmaster.ca>]

end of thread, other threads:[~2002-03-08 19:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-08 15:08 Interprocess shared memory .... but file backed? Christopher Quinn
2002-03-08 15:32 ` Alan Cox
2002-03-08 15:30   ` Christopher Quinn
2002-03-08 19:20     ` H. Peter Anvin
2002-03-08 15:51 ` Richard B. Johnson
     [not found] <Pine.LNX.4.33.0203081049360.15002-100000@coffee.psychology.mcmaster.ca>
2002-03-08 16:05 ` Christopher Quinn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox