1 Nov 2002 01:16
Bounce buffer usage
Mark Lobo <ntdeveloper2002 <at> yahoo.com>
2002-11-01 00:16:32 GMT
2002-11-01 00:16:32 GMT
Guys, Simple question on bounce buffer usage. As of my understanding right now, a bounce buffer will not be used if 1) We say we dont support over a fixed number of address bits, for example, ISA devices. 2) If the address of the buffer is not in a space directly addressable by the kernel ( not in kernel logical address space ) Now my question is: what happens in the case where an application sends an IO down? are bounce buffers used in that case? I guess I am still confused on kernel virtual v/s kernel logical addresses. As I understand, a kernel logical address is one that is directly addressable by the kernel, and is limited to 1GB. So if we have a system with 2GB, does it mean some of the physical memory ( probably 1GB ) has a kernel logical address assigned to it permanently and the other 1GB does not, which means if a user happens to get a page in that space, there will be no logical address ( and therefore bounce buffers WILL be used? ). Or is any user address not mapped in the kernel "logical" space at all? Im confused in this one, I would appreciate if someone can clear it up for me. Thanks, Mark(Continue reading)
. If the
buffer sent down resides at a higher address than what the adapter can
handle, then it is bounced. This may not necessarily have anything to do
with kernel virtual mapping or not.
> virtual v/s kernel logical addresses. As I understand,
> a kernel logical address is one that is directly
> addressable by the kernel, and is limited to 1GB. So
Its not a major new feature its just some more scsi bug fixing
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at
RSS Feed