[alsa-devel] mmap ops in snd_pcm_ops

Scott Jiang scott.jiang.linux at gmail.com
Fri Jul 29 12:31:23 CEST 2011


Hi all,

I found there is a memory leak about 128K every time in linux-2.6.34,
but it doesn't exist in linux-3.0.
If I use mmap ops in driver the bug will come out, while use copy ops
no memory leak.
I tested with aplay to play a wav file.
Because there is a lot of changes in ALSA between 2.6.34 and 3.0, so
can anyone familiar
with the change history tell me which patch has solved this bug?
Thanks in advance.

Scott


More information about the Alsa-devel mailing list