From: Hari Hara Kumar M <hari@xsigo.com>
To: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: need help with kmap_atomic() behavior
Date: Sat, 16 Jun 2007 14:52:21 -0700 [thread overview]
Message-ID: <1182030741.26268.59.camel@hmaharaj-ws.xsigo.com> (raw)
In-Reply-To: <463796B1.9060706@student.ltu.se>
Hello
We are mapping struct page ptrs from scattergather list entries using
kmap_atomic(page_ptr, KM_USER0) to get the virtual address for doing a
copy to work around some alignment restrictions in our driver.
If the first entry in the scatterlist has length > 4k (say 11k) and has
an offset of 1k then, will kmap of the struct page ptr in this
scattergather entry map all of the relevant pages (3 in this case for
11k) needed to cover this sg entry?
Thanks in advance.
-Hari
prev parent reply other threads:[~2007-06-16 21:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-01 18:03 [PATCH] drivers/scsi/pci2000.h: Remove unused file Richard Knutsson
2007-05-01 18:16 ` Robert P. J. Day
2007-05-01 18:42 ` James Bottomley
2007-05-01 19:36 ` Richard Knutsson
2007-06-16 21:52 ` Hari Hara Kumar M [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=1182030741.26268.59.camel@hmaharaj-ws.xsigo.com \
--to=hari@xsigo.com \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®