[PATCH] sound/pcm: we can wait when mallocing in feed_rate_init

Peter Avalos peter at theshell.com
Sat Jan 29 00:22:02 PST 2011


On Sat, Jan 29, 2011 at 12:43:25AM +0100, Rumko wrote:
> After a few days of uptime and playing movies/listening to music I was not able
> to open /dev/dsp anymore (only already existing /dev/dsp0.X devices worked, no
> new ones could be opened).
> The problem is in M_NOWAIT flag for the kmallocs in feed_rate_init(). We can
> wait at that point and my system has been running with this patch for almost a
> week and still sound functioned normally.

This fixes my sound problem on my laptop.

Thanks!
Peter
Attachment:
pgp00006.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 198 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20110129/61f9df90/attachment-0022.obj>


More information about the Bugs mailing list