[lkml]   [2005]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: wrong madvise(MADV_DONTNEED) semantic
Robert Love, le Tue 28 Jun 2005 15:23:43 -0400, a écrit :
> I think we need to resolve the differences between the man pages,
> comments, expected user behavior, kernel implementation, POSIX standard,
> and what other OS's do. Figure out what to do, then unify everything.

Well, posix says data should be kept. The solaris man page for madvise,
since it proposes a MADV_FREE case too do agree with posix.

I've tested the program (thanks Andy) on solaris 5.8, it does work fine.
On OSF1 it failed on the anonymous case.

Some people may want their data to be kept, so the safe side is to keep
data safe, i.e. both kernel and manpage be corrected, but leave a bug
notice in the manpage about previous kernels.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-06-28 21:52    [W:0.084 / U:5.156 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site