Re: [PATCH] iommu/iova: Fix tracking of recently failed iova address size

2019-03-18 Thread Robin Murphy
On 15/03/2019 15:56, Robert Richter wrote: We track the smallest size that failed for a 32 bit allocation. The Size decreases only and if we actually walked the tree and noticed an allocation failure. Current code is broken and wrongly updates the size value even if we did not try an allocation.

[PATCH] iommu/iova: Fix tracking of recently failed iova address size

2019-03-15 Thread Robert Richter
We track the smallest size that failed for a 32 bit allocation. The Size decreases only and if we actually walked the tree and noticed an allocation failure. Current code is broken and wrongly updates the size value even if we did not try an allocation. This leads to increased size values and we