Re: userspace pagecache management tool

From: Lee Revell
Date: Sat Mar 03 2007 - 20:16:37 EST


On 3/3/07, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
The tool uses an LD_PRELOAD hack to intercept glibc's read(), pread(),
write(), pwrite(), close() and dup2() functions. pagecache control is done
via posix_fadvise() and sync_file_range().


How could this have any effect on the updatedb problem? updatedb does
not read() anything, it just open()s and stat()s every file on the
disk.

Lee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/