[lkml]   [2001]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Swap
On Nov 21, 2001  02:45 +0100, Håvard Kvålen wrote:
> > (I just tried looking at XMMS and Freeamp - I *think* they are using
> > read(), but strace seems to do bad things with threaded programs,
> > argh...)
> You are right about XMMS, it uses read(). I'm not sure about Freeamp.

When I was hacking on mpg123, it was using mmap by default unless it was
unable to mmap the file (e.g. stdin) where it uses read. You could turn
this off at compile time, so it only uses read. I found that to work
better on low memory machines.

Cheers, Andreas
Andreas Dilger

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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