lkml.org 
[lkml]   [1998]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: What's wrong with MAP_SHARED|MAP_ANONYMOUS?
From
Date
"David S. Miller" <davem@dm.cobaltmicro.com> writes:

> Date: Sun, 27 Sep 1998 03:49:04 +0200
> From: Felix von Leitner <leitner@math.fu-berlin.de>
>
> I always get EINVAL :(
>
> Shared anon pages are not supported. You can get similar
> functionality from sysv ipc shared memory.

Would it work if you create a scratch file, open it, unlink it, fill it
to the right size with zeros and then map it with a shared mapping?

-
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    [from the cache]
©2003-2011 Jasper Spaans