lkml.org 
[lkml]   [2000]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.047 / U:1.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site