lkml.org 
[lkml]   [2001]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Recent kernels sound crash solution found?
Date
"  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/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.036 / U:1.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site