From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Stevie-O <oliver@klozoff.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: vmalloc and DMA
Date: Fri, 19 Sep 2003 10:05:34 +0100 [thread overview]
Message-ID: <1063962334.18308.4.camel@dhcp23.swansea.linux.org.uk> (raw)
In-Reply-To: <3F6A61E9.1060407@klozoff.com>
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.
prev parent reply other threads:[~2003-09-19 9:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-19 1:54 Stevie-O
2003-09-19 9:05 ` Alan Cox [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1063962334.18308.4.camel@dhcp23.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=oliver@klozoff.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®