Re: suggest rvfree in mite_buf_alloc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 10 November 2002 12:25 pm, Tomasz Motylewski wrote:
> 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,

Rolf Mueller and I are about to start working on AO DMA for 611x boards, and 
with a little luck it should be straightforward to go from there to getting 
it to work for all the pcimio boards (judging from our experience with the AI 
DMA).

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE90UiQ5vihyNWuA4URArvKAKDNAqXWNOZh+PGCLFAIRRBHKO3BOgCfe9MH
9kSC7Nmz62b6G9iX/cP85YA=
=yTQQ
-----END PGP SIGNATURE-----

Received on 2002-11-12Z18:29:30