commit | 587e6c10a7ce89a5924fdbeff2ec524fbd6a124b | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Tue Jul 02 17:16:25 2019 +0100 |
committer | Will Deacon <will@kernel.org> | Thu Aug 08 13:31:54 2019 +0100 |
tree | 6cc02601cd05efcfebb712a740a22cea60784e1e | |
parent | 7c288a5b27934281d9ea8b5807bc727268b7001a [diff] |
iommu/arm-smmu-v3: Reduce contention during command-queue insertion The SMMU command queue is a bottleneck in large systems, thanks to the spin_lock which serialises accesses from all CPUs to the single queue supported by the hardware. Attempt to improve this situation by moving to a new algorithm for inserting commands into the queue, which is lock-free on the fast-path. Tested-by: Ganapatrao Kulkarni <gkulkarni@marvell.com> Signed-off-by: Will Deacon <will@kernel.org>