lkml.org 
[lkml]   [2005]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: wrong madvise(MADV_DONTNEED) semantic
From
Date
On Tue, 2005-06-28 at 22:03 +0200, Jörn Engel wrote:

> Plus, common sense agrees with posix. An implementation of madvice
> that doesn't do anything should be perfectly sane and functionally
> equivalent to any other implementation. Only differences should be in
> performance.
>
> Dropping dirty pages is a clear functional difference.

I like the idea (I think someone suggested this early on) of renaming
the current MADV_DONTNEED to MADV_FREE and then adding a correct
MADV_DONTNEED.

And, as I said, the man page needs clarification.

Robert Love


-
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-06-28 22:17    [W:0.064 / U:0.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site