tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rbuf starvation in the iwn driver

On Wed, Apr 07, 2010 at 03:47:07PM -0600, Sverre Froyen wrote:
> #define MEXTMALLOC(m, size, how) 
> do {
>         (m)->m_ext_storage.ext_buf = 
>             (void *)malloc((size), mbtypes[(m)->m_type], (how)); 
> ...
> with a single malloc looks like it would be contiguous but probably slow. It 
> should also be properly aligned according to the malloc(9) man page.

Doesn't this memory need to be dma-safe?


Home | Main Index | Thread Index | Old Index