On Wed, Mar 15, 2000 at 07:16:48PM +0100, Andrea Arcangeli wrote:
> Do you know how the madvise syscall works on OSF/1? That matters to be
> binary compatible.

#define MADV_NORMAL     0               /* no further special treatment */
#define MADV_RANDOM     1               /* expect random page references */
#define MADV_SEQUENTIAL 2               /* expect sequential page references */
#define MADV_WILLNEED   3               /* will need these pages */
#define MADV_DONTNEED_COMPAT    4       /* for backward compatibility */
#define MADV_SPACEAVAIL 5               /* ensure resources are available */
#define MADV_DONTNEED   6               /* dont need these pages */

Dunno what the difference between 4 and 6 are.


r~

Reply via email to