iommu: io-pgtable-arm: Flush all tlbs at end of unmap
Rather than calling the tlb maintenance routines throughout the course of the unmap operation, just flush the entire tlb for the context in question all at once, at the very end of the unmap. This greatly improves performance for large page tables (which is common for large buffers in a heavily fragmented system). In my testing, this optimization gave a ~10% speedup when unmapping 64K. Change-Id: Iaa2b211e730dad6bd9235ef98dd2a89cf541e663 Signed-off-by:Mitchel Humpherys <mitchelh@codeaurora.org> Signed-off-by:
Patrick Daly <pdaly@codeaurora.org>
Loading
Please register or sign in to comment