lkml.org 
[lkml]   [1999]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: AIX disclaim() or Tru64 madvise (MADV_DONTNEED) needed
From
Date
Jan Vroonhof <vroonhof@math.ethz.ch> writes:

> Christoph Rohland <hans-christoph.rohland@sap-ag.de> writes:
>
> > You can not use file descriptors for shared memory since they sync to
> > file on unmap. This would be possible if we had shm_open which
> > implements shared memory with the normal fd/mmap/unmap syntax.
>
> Are you implying that it would suffice if you could use MAP_SHARED of
> /dev/zero and/or MAP_SHARED|MAP_ANONYMOUS style shared memory?

No /dev/zero or MAP_ANONYMOUS does not allow unmap and remap after
fork. We definitely would need shm_open.

> If so, there is (or was) a patch for doing this for Linux (look for
> shmfs). It seems to me like a nice feature for 2.3
>
> See
>
> http://www.uwsg.indiana.edu/hypermail/linux/kernel/9806.2/0803.html
>
> (It was even designed explicitly for shm_open)

Yes I know about shmfs and once tried it. But I did not hear about any
progress for some while and feature freeze for 2.4 is coming. So I
decided to go for the disclaim feature.

Greetings
Christoph

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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