Messages in this thread |  | | Date | Tue, 20 Nov 2001 21:23:36 -0700 | From | Andreas Dilger <> | Subject | Re: 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 http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |