lkml.org 
[lkml]   [1998]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: What's wrong with MAP_SHARED|MAP_ANONYMOUS?
On Sun, Sep 27, 1998 at 04:10:02PM +0200, Alexey Kuznetsov wrote:
> Hello!
>
> > These mappings have a big advantage over anonymous mappings too - you
> > can pass them around between processes using fd descriptor passing.
>
> How to prevent aggressive syncing dirty pages to disk for them?
> They should make swap-like syncs to be useful.

True, it would be worth a mprotect() flag.

What I would like to see in 2.3 would be a special device works that
hands out anonymous swap space associated with a fd
(something like a combination of /dev/zero and a SVR4 clone device)

With that POSIX shared memory could be implemented in user space -
using a daemon and access to the daemon's /proc/<pid>/fd/* files.

-Andi

-
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:44    [W:0.161 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site