Re: [PATCH] [9/20] Add blk_kmalloc/blk_alloc_pages

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

 



> I would like if we could do a regular allocation and let the

That is what v1 of the patchkit did. I only introduced blk_* 
based on feedback from James who was concerned about the additional
bounces.  It would be fine for me to go back to that state.

Please Jens and James work out what way is the preferred one.
Right now there are conflicting requirements from different
maintainers.

> this code wants to change to use proper BIO and blk_ API as was 
> proposed by Mike Christie. So there is only that one user at scsi_scan

It's actually not only scsi-scan, but a couple of users (see the whole
patchkit) 


> On the other hand it is not only the ISA cases right? Even in an
> x86_64 system with a PCI-32 host, we are going to bounce. Perhaps if
> there is a convenient API for allocating un-bounced memory for a 
> block device there will be more users for it, like file-systems. 
> 
> The API, I would like that if failing to allocate un--bounced memory 
> would then allocate any memory and bounce later.

pci dma api/ swiotlb is that API (which either bounces or uses
an iommu), but it doesn't work for ISA DMA

-Andi

--
To unsubscribe from this list: 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