[mythtv] [PATCH] O_STREAMING patch

Isaac Richards ijr at po.cwru.edu
Mon Dec 22 23:13:22 EST 2003


On Monday 22 December 2003 01:07 pm, steve at nexusuk.org wrote:
> This patch sets the O_STREAMING flag when the ring buffer is opened to
> instruct the kernel not to cache the data once it's been accessed.  The
> result is a much more responsive frontend after watching TV since most of
> the frontend's files haven't been expired from the kernel's pagecache.
>
> You also need the O_STREAMING kernel patch:
>     http://kerneltrap.org/node/view/460

I dunno, defining the O_STREAMING in the source seems rather dangerous to me.  
Potential clashes with things other than linux, etc..  Can't check for it 
with an ifdef?

Isaac


More information about the mythtv-dev mailing list