inconsistency in definition of POSIX_FADV_DONTNEED on ia64

Ray Bryant raybry@engr.sgi.com
Fri Apr 18 04:17:00 GMT 2003


I'm curious as to the correct defintion of the constant
POSIX_FADV_DONTNEED.  In glibc-2.2.4, 2.2.5, and 2.3.2-11.9 the value of
this constant is defined as 6:

./sysdeps/unix/sysv/linux/ia64/bits/fcntl.h:

# define POSIX_FADV_DONTNEED        6 /* Don't need these pages.  */

Whereas if I look in fadvise.h in linux-2.5.64, patched for ia64, we get
a value of 4.  Most other architectures define this as 4 as well (in
glibc).

Anyone have any insight as to whether the value as stated for glibc is
the preferred value for ia64, and that the kernel is just incorrect?

Thanks.
-- 
Best Regards,
Ray
-----------------------------------------------
                  Ray Bryant
512-453-9679 (work)         512-507-7807 (cell)
raybry@sgi.com             raybry@austin.rr.com
The box said: "Requires Windows 98 or better",
           so I installed Linux.
-----------------------------------------------



More information about the Libc-alpha mailing list