From: Mark Lobo <ntdeveloper2002@yahoo.com>
To: linux-scsi@vger.kernel.org
Subject: kernel addresses
Date: Mon, 28 Oct 2002 13:22:20 -0800 (PST) [thread overview]
Message-ID: <20021028212220.80695.qmail@web80312.mail.yahoo.com> (raw)
Hello!
I am an NT guy just getting into Linux stuff. Im going
to be writing a SCSI initiator driver for an FC HBA.
Had a couple of simple questions.
1) What exactly is the difference between Kernel
logical and kernel virtual addresses? is the kernel
logical address the address space of the kernel?
Seems like kernel logical address have a constant
offset from the physical address, and kernel virtual
addresses dont. Its slightly confusing on why have
these two separate terms at all? a kmalloced buffer
gives a logical address, but a vmalloced gives a
kernel virtual address. This kind of terminology
confused me!
2) If a SCSI command is passed by a user level app, is
there a buffer copy involved before it gets to the
scsi initiator? I saw something about bounce buffers,
but wasnt quite sure what it meant. So what are bounce
buffers used for?
Does the original buffer allocated by the user get
mapped into a kernel virtual ( or logical???) address,
locked down and passed down the stack?
Any help is greatly appreciated.
Thanks,
Mark
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
next reply other threads:[~2002-10-28 21:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-28 21:22 Mark Lobo [this message]
2002-10-28 22:26 ` kernel addresses Alan Cox
[not found] <20021028230140.79410.qmail@web80305.mail.yahoo.com>
2002-10-28 23:26 ` Alan Cox
2002-10-28 23:54 ` Mark Lobo
2002-10-29 0:22 ` Alan Cox
2002-10-29 0:36 ` Mark Lobo
2002-10-29 1:07 ` Alan Cox
[not found] <20021029010744.83318.qmail@web80301.mail.yahoo.com>
2002-10-29 9:46 ` Alan Cox
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=20021028212220.80695.qmail@web80312.mail.yahoo.com \
--to=ntdeveloper2002@yahoo.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