Re: highmem, aic7xxx, and vfat: too few segs for dma mapping

David S. Miller
2001-12-13T00:26:52Z

From: Gérard Roudier <groudier@free.fr>
Date: Wed, 12 Dec 2001 21:24:59 +0100 (CET)

A N% loss for the 99% case in order to support the 1% is close to N%
loss. So, each time we bloat or complexify the code with no relevance for
the average case, the overall difference cannot be a win.

Do you know, you can use this N% loss to implement handling of the
very problem you have wrt. sym53c8xx hw bugs? :-)

To be honest all the machinery to handle the problems you have
described are there today, even with IOMMU's present. The generic
block layer today knows when IOMMU is being used, it knows what kind
of coalescing can and will be done by the IOMMU support code (via
DMA_CHUNK_SIZE), and therefore it is capable of adhering to any
restrictions you care to describe to the block layer.

It's only a matter of coding on Jens's part :-)