lkml.org 
[lkml]   [2003]   [Apr]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 14 Apr 2003 22:30:52 -0700
From"H. Peter Anvin" <>
SubjectRe: Memory mapped files question
Jamie Lokier wrote:
> 
> It's a quality of implementation issue if data can remain dirty in RAM
> forever without ever being flushed.
> 
> Can this really happen with normal open/mmap/munmap/close usage, or
> does it only occur with long-lived processes like innd which mmap a
> file, dirty the pages but never munmap them?
> 
> If the former case does happen, I'd say we're failing on quality of
> implementation.  If it's only the latter case, though, fair enough: the
> application writer will have to use msync().
> 

The latter, I'm pretty sure.  After all, that's what pgflush/bdflush is 
all about.

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

\
 
 \ /
  Last update: 2005-03-22 12:34    [W:0.410 / U:0.130 seconds]
©2003-2008 Jasper Spaans