Re: [PATCH] iommu/dma: Map scatterlists more parsimoniously

2016-02-01 Thread Daniel Kurtz
On Thu, Dec 10, 2015 at 8:49 PM, Daniel Kurtz wrote: > On Thu, Nov 12, 2015 at 1:47 PM, Yong Wu wrote: >> On Wed, 2015-11-11 at 14:54 +, Robin Murphy wrote: >>> Whilst blindly assuming the worst case for segment boundaries and >>> aligning every

Re: [PATCH] iommu/dma: Map scatterlists more parsimoniously

2015-12-10 Thread Daniel Kurtz
On Thu, Nov 12, 2015 at 1:47 PM, Yong Wu wrote: > On Wed, 2015-11-11 at 14:54 +, Robin Murphy wrote: >> Whilst blindly assuming the worst case for segment boundaries and >> aligning every segment individually is safe from the point of view >> of respecting the device's

Re: [PATCH] iommu/dma: Map scatterlists more parsimoniously

2015-11-11 Thread Yong Wu
On Wed, 2015-11-11 at 14:54 +, Robin Murphy wrote: > Whilst blindly assuming the worst case for segment boundaries and > aligning every segment individually is safe from the point of view > of respecting the device's parameters, it is also undeniably a waste > of IOVA space. Futhermore, the