diff options
| author | Zhen Lei <[email protected]> | 2021-08-11 11:48:49 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2021-08-13 13:17:16 +0000 |
| commit | eff19474b1bd60286213e5052ccf246b6a6c7199 (patch) | |
| tree | b5ca08d6dd777adf63eca88bd40c98abf6c9c114 /lib/netdev-notifier-error-inject.c | |
| parent | iommu/arm-smmu: Optimize ->tlb_flush_walk() for qcom implementation (diff) | |
| download | kernel-eff19474b1bd60286213e5052ccf246b6a6c7199.tar.gz kernel-eff19474b1bd60286213e5052ccf246b6a6c7199.zip | |
iommu/arm-smmu-v3: Use command queue batching helpers to improve performance
The obvious key to the performance optimization of commit 587e6c10a7ce
("iommu/arm-smmu-v3: Reduce contention during command-queue insertion") is
to allow multiple cores to insert commands in parallel after a brief mutex
contention.
Obviously, inserting as many commands at a time as possible can reduce the
number of times the mutex contention participates, thereby improving the
overall performance. At least it reduces the number of calls to function
arm_smmu_cmdq_issue_cmdlist().
Therefore, use command queue batching helpers to insert multiple commands
at a time.
Signed-off-by: Zhen Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
