On Sat, Jun 13, 2009 at 04:26:06PM +0200, Torsten Kaiser wrote: > On Sat, Jun 13, 2009 at 1:10 PM, Joerg Roedel<joro@xxxxxxxxxx> wrote: > > > > paddr shouldn't matter. We also can't compare against it because it is > > not a parameter we get in the unmap path (not always). > > check_unmap() checks it and sg_call_ents are also optional. check_unmap() only checks it for coherent mappings (where it makes sense). But for a best-fit search it does not make sense because we already check for the type and multiple coherent mappings to the same dma_addr for the same device are not possible (because for coherent mappings the memory is allocated by the dma_ops backend). Joerg -- 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