lkml.org 
[lkml]   [2003]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: vmalloc and DMA
From
Date
On Gwe, 2003-09-19 at 02:54, Stevie-O wrote:
> I need to treat a large number of pages (about 128) as continuous.

Continuous to whom ?

> (2) Is it appropriate to vmalloc_32(512<<10) and then grab the underlying
> addresses for DMA?
> (3) If it *is* appropriate, what's the proper way to get to those underlying
> addresses? I saw a virt_to_page macro somewhere...

If you use the pci_alloc interfaces you'll get what you want except for
them not being fake contiguous to the kernel. You can still make them
contiguous to user space.

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

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.038 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site