Re: [PATCH] [12/22] Remove GFP_DMAs/unchecked_isa_dma checks in scsi_scan.c

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

 



> You've already added a new special field with your u64
> sense_buffer_mask;

Ok I'll add another one for this case so that you can still
have zero copy SCSI scan. Or maybe it can check the block
layer bounce information directly here.

> It's a special case field for ISA devices because everything else has a
> dev->dma_mask you can use.

I'm not sure that trying to use ->dma_mask for this is all that useful.
The issue is that a lot of drivers do not actually DMA specific areas
because either they don't care about the data or the data is passed
in some other implicit way.

Trying to lump it all together into a single mask would be a mistake
I think.

> So, in fact, you're removing my single bit isa_unchecked_dma flag and
> using 64 bits in its place that preserves essentially the same
> information.  It just doesn't look like a bargain to me.  Particularly
> as you're removing a lot of the memory allocation optimisation paths at
> the same time.

Essentially it removes an ISA specific optimization and makes ISA
work like all other IO without IOMMU.

> There is a proposal that's been under consideration for a while because
> it might solve other issues ATA has with mdma (they need to use

... that'll have to be done by someone else.

-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