Re: atomic_kmap for PIO (was Re: Fw: Kernel panic with dc395x in 2.6.12.2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 7 Aug 2005, Mike Christie wrote:

> Well, iscsi too, but there is the scatterwalk code which the crypto api
> uses today and looks similar to what ide, libata, and scsi need.

Ok, I see what you mean now. Well, my impression is that one could, 
certainly, merge the 2 APIs, but this would incur overhead for both usage 
patterns: crypto traverses the list page / segment at a time, I think, 
some other block users (IDE?) would need the same; whereas the code I am 
proposing is optimised for the case when one needs just to map a few bytes 
from the sg-list, access them, and unmap.

Have I got it right? Other opinions? Perhaps, a lib/scattergather.c with 
these both APIs, and, possibly, others?

Thanks
Guennadi
---
Guennadi Liakhovetski
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux