Re: Recent kernels sound crash solution found?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Sep 07 2001 - 10:54:53 EST


> * 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/



This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:41 EST