Re: Can a buffer allocated by "vmalloc( )" be used to make DMA transmission (the buffer will be used by BIO structure) on X86_64 platform?

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

 



At Tue, 16 Jan 2007 22:37:56 +0800,
Yu-Chen Wu wrote:
> 
> Hi all,
> Can a buffer allocated by "vmalloc( )" be used to make DMA transmission (the
> buffer will be used by BIO structure) on X86_64 platform?
> I need a big buffer (cache) maybe 64MB or bigger, so I call vmalloc to
> allocate the buffer.
> If possible, how to get the pages in the buffer?

You can resolve the page via vmalloc_to_page(), and pass it in nopage
callback.


Takashi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux