Re: Recent kernels sound crash solution found?

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


> * Now loop until we get a free buffer. Try to get smaller buffer if
> * it fails. Don't accept smaller than 8k buffer for performance
> * reasons.
> */
> ===> _here_ is a dead-loop <===
> while (start_addr == NULL && dmap->buffsize > PAGE_SIZE) {

It terminates when dmap->bufsise hits page size
> start_addr = (char *) __get_free_pages(GFP_ATOMIC|GFP_DMA, sz);
> if (start_addr == NULL)
> dmap->buffsize /= 2;

I see no bug
-
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/