Re: Recent kernels sound crash solution found?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 7 Sep 2001 16:16:12 +0100 (BST)


> * comment to point 2: very rare circumcistances includes
> that some time should pass to fragment memory

The alloc_dmap code returns -ENOMEM when the allocation fails. That causes
the open_dmap call to return -ENOMEM which in turn causes DMAbuf_open
to return -ENOMEM which causes audio_openb to return -ENOMEM, which gets
back to userspace.

I don't see a problem.

[sound btw also supports a module option to keep the dmabuffers allocated
once and hang onto them]
-
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/