Re: mmap vs. O_DIRECT

Avi Kivity
2004-11-11T18:53:41Z

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.