Messages in this thread | | | From | Will Deacon <> | Subject | Re: [PATCH v5 1/2] iommu/iova: Retry from last rb tree node if iova search fails | Date | Tue, 17 Nov 2020 23:24:29 +0000 |
| |
On Wed, 30 Sep 2020 13:14:23 +0530, vjitta@codeaurora.org wrote: > When ever a new iova alloc request comes iova is always searched > from the cached node and the nodes which are previous to cached > node. So, even if there is free iova space available in the nodes > which are next to the cached node iova allocation can still fail > because of this approach. > > Consider the following sequence of iova alloc and frees on > 1GB of iova space > > [...]
Applied to arm64 (for-next/iommu/iova), thanks!
[1/2] iommu/iova: Retry from last rb tree node if iova search fails https://git.kernel.org/arm64/c/4e89dce72521 [2/2] iommu/iova: Free global iova rcache on iova alloc failure https://git.kernel.org/arm64/c/6fa3525b455a
Cheers, -- Will
https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev
| |