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 byOr you can use aio with O_DIRECT.
doing posix_fadvise() to prune your cache pages after you touch them.
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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/