This patch teaches the Linux ABIs to use the new posix_fadvise(2) system calls instead of using stubs. I've no good way to test this so would appreciate some extra review or testing. Patch is at http://www.freebsd.org/~jhb/patches/fadvise_linux.patch -- John Baldwin