Re: mmap vs. O_DIRECT

From: Avi Kivity
Date: Thu Nov 11 2004 - 13:58:02 EST

Robert Love wrote:

The closest you can come to normal I/O without the page cache is by
doing posix_fadvise() to prune your cache pages after you touch them.

Or you can use aio with O_DIRECT.

Do not meddle in the internals of kernels, for they are subtle and quick to panic.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at