lkml.org 
[lkml]   [2000]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: shared memory, mmap not recommended?
Date

> [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?
>
> [Peter Samuelson]
> 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.
>

I see, thanks a lot for the clarification.

BR
Peter Rönnquist
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:51    [W:0.049 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site