From: James Bottomley <James.Bottomley@steeleye.com>
To: dead_emaill@nospam.com
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: Scatter Gather question : 2.6.test4 . page to vaddr
Date: 22 Sep 2003 15:34:25 -0500 [thread overview]
Message-ID: <1064262866.15409.135.camel@mulgrave> (raw)
In-Reply-To: <20030922201540.68358.qmail@web60210.mail.yahoo.com>
On Mon, 2003-09-22 at 15:15, jd wrote:
> I see that 2.6 scatterlist.h has eliminated the "address" element
> and uses page struct only, and that pci_map_sg() is used to
> populate the dma_address field. I'm not really planning on
> using DMA .
>
> How can I convert the page * entry
> pointed to by SCpnt->request_buffer back to a vaddr ?
> I don't see a page-to-vaddr() . function ?
> Thanks for any insight.
In general, you can't...the page may not be mapped in the kernel's
space. You can use kmap/kunmap to look at its contents.
James
next prev parent reply other threads:[~2003-09-22 20:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-22 20:15 Scatter Gather question : 2.6.test4 . page to vaddr jd
2003-09-22 20:32 ` jd
2003-09-22 20:34 ` James Bottomley [this message]
2003-09-22 20:41 ` Matthew Wilcox
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=1064262866.15409.135.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=dead_emaill@nospam.com \
--cc=linux-scsi@vger.kernel.org \
/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