Re: suggest rvfree in mite_buf_alloc

On Sun, Nov 10, 2002 at 12:25:00PM +0100, Tomasz Motylewski wrote:
> kvmem.h (comedi is even better than kernel because you control what
> it does). And moreover it is still used:
> ./comedi/drivers.c:             async->prealloc_buf = rvmalloc(new_size);

You should note that rvmalloc is not exported by comedi.o.  This is
on purpose.

> Could you explain what do you mean by "separate allocation and reserve
> staged" ?

DMA and vmalloc() do not coexist well on all architectures, so it
would be wise to have a model where vmalloc() can be easily changed
with something else.



dave...

Received on 2002-11-11Z08:52:12