Linux SCSI subsystem development
 help / color / mirror / Atom feed
[parent not found: <20021029010744.83318.qmail@web80301.mail.yahoo.com>]
* kernel addresses
@ 2002-10-28 21:22 Mark Lobo
  2002-10-28 22:26 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Lobo @ 2002-10-28 21:22 UTC (permalink / raw)
  To: linux-scsi

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-10-29  9:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20021028230140.79410.qmail@web80305.mail.yahoo.com>
2002-10-28 23:26 ` kernel addresses 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
2002-10-28 21:22 Mark Lobo
2002-10-28 22:26 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox