diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-08-11 19:48:49 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-08-13 14:17:16 +0100 |
commit | eff19474b1bd60286213e5052ccf246b6a6c7199 (patch) | |
tree | b5ca08d6dd777adf63eca88bd40c98abf6c9c114 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ef75702d6d65a1993dc0d6dd423fefaa08901f24 (diff) |
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 <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210811114852.2429-2-thunder.leizhen@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions