Re: suggest rvfree in mite_buf_alloc

On Sat, 9 Nov 2002, David Schleef wrote:

> On Sat, Nov 09, 2002 at 09:02:46PM +0100, Tomasz Motylewski wrote:
> > 
> > Is there any reason for the following code in mite_buf_alloc:
> > 
> > while rvfree() function is available which does just that?
> 
> Uh, where exactly is it "available"?  It's not in the kernel.
> The implementation in Comedi is going to be removed, in favor of
> separate allocation and reserve staged.
> 

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);

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

BTW. Do you have any plans to implement DMA for AO (PCI-MIO boards)?

Best regards,
--
Tomek

Received on 2002-11-10Z11:25:00