Re: Recent kernels sound crash solution found?
Samium Gromoff (_deepfire@mail.ru)
Fri, 7 Sep 2001 20:16:08 +0000 (UTC)
" 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/