Re: Recent kernels sound crash solution found?

From: Samium Gromoff (_deepfire@mail.ru)
Date: Fri Sep 07 2001 - 15:16:08 EST


" Alan Cox wrote:"
>
> > * 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
>
     Ahh.. yes. Sorry for this one. Comment was so obvious.

regards, Sam
-
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