lkml.org 
[lkml]   [1998]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: What's wrong with MAP_SHARED|MAP_ANONYMOUS?
Hi,

On Mon, 28 Sep 1998 20:24:57 +0200, Felix von Leitner
<leitner@math.fu-berlin.de> said:

> What is the problem with the shared anonymous mmap syntax?
> I mean, if the programmer is so dumb that he does not use blocks he
> allocated, God help him. That should not be a reason not to have a
> library call.

The library call is there. It's the kernel which doesn't have the
functionality: the swapper assumes that all swappable pages are
private.

The swap cache code in 2.1 makes this much easier to fix, but in the
end it's going to be a 2.3 job. In all likelihood 2.2 will not
support shared anonymous mappings.

--Stephen

-
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.062 / U:1.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site