Messages in this thread | | | Date | Wed, 22 Mar 2000 16:56:10 +0000 | From | "Stephen C. Tweedie" <> | Subject | Re: fcntl(2) and other file systems like XFS |
| |
Hi,
On Tue, Mar 21, 2000 at 11:47:28PM +0100, Jamie Lokier wrote: > > For video players, I think you can go a long way with mmap() and > madvise(). (But I haven't tried it).
Yes. Raw IO has one big advantage, though: it doesn't require any modification of page tables or vmas, and so it is a lot more efficient (especially for threaded SMP applications, where mmap and madvise result in a lot of inter-CPU interrupt traffic for tlb invalidations).
--Stephen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |