This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
inconsistency in definition of POSIX_FADV_DONTNEED on ia64
- From: Ray Bryant <raybry at engr dot sgi dot com>
- To: libc-alpha at sources dot redhat dot com
- Cc: raybry at sgi dot com
- Date: Thu, 17 Apr 2003 23:23:27 -0500
- Subject: inconsistency in definition of POSIX_FADV_DONTNEED on ia64
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 at sgi dot com raybry at austin dot rr dot com
The box said: "Requires Windows 98 or better",
so I installed Linux.
-----------------------------------------------