Files
android_kernel_xiaomi_sm8450/include/linux/iova.h
Vijayanand Jitta 14bb6f87db FROMLIST: iommu/iova: Free global iova rcache on iova alloc failure
When ever an iova alloc request fails we free the iova
ranges present in the percpu iova rcaches and then retry
but the global iova rcache is not freed as a result we could
still see iova alloc failure even after retry as global
rcache is holding the iova's which can cause fragmentation.
So, free the global iova rcache as well and then go for the
retry.

Link: https://lore.kernel.org/lkml/1597927761-24441-2-git-send-email-vjitta@codeaurora.org/
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
Change-Id: Ife06a2a078d32103a59367da705274222b18b91a
2020-09-08 21:24:52 -07:00

7.2 KiB