dsp mmap change
avg at FreeBSD.org
Fri May 6 16:21:50 UTC 2011
on 06/05/2011 16:00 John Baldwin said the following:
> On Friday, May 06, 2011 4:55:00 am Andriy Gapon wrote:
>> I would like to ask for a review and/or testing of the following patch:
>> It's supposed to fix an issue described here:
>> In short, the following pseudo-code should do the right thing:
>> fd = open(/dev/dsp, O_RDWR);
>> mmap(PROT_READ, fd);
>> mmap(PROT_WRITE, fd);
> Are the buffers statically allocated?
My reading of code indicates that the buffers are allocated on a sound driver
attach and freed when it's detaching.
More information about the freebsd-multimedia