Subject: [linux-audio-dev] munlock and mmap
From: Paul Barton-Davis (pbd_AT_Op.Net)
Date: Tue Apr 04 2000 - 21:08:37 EEST
yeah, now i *really* understand why i did this.
i wanted to map the file once, so that the audio thread and butler
thread never had any races over the current VM location of the mmap
buffer.
if i have to munmap() the track file in pieces so that i can tell the
kernel that i don't care about sections of memory anymore, it means
that i can't have a single location where the mmap buffer can always
be found.
this starts to get hairy again.
needless to say, i am determined to make this work without XFS, raw
I/O or anything else, just so that when those things become
compelling, it all works even better. sigh.
--p
This archive was generated by hypermail 2b28 : Tue Apr 04 2000 - 21:46:00 EEST