未验证 提交 6e31072c 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!1306 [sync] PR-1297: iommu/iova: move IOVA_MAX_GLOBAL_MAGS outside of IOMMU_SUPPORT

Merge Pull Request from: @openeuler-sync-bot 
 

Origin pull request: 
https://gitee.com/openeuler/kernel/pulls/1297 
 
PR sync from: Zhang Zekun <zhangzekun11@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/62KOPQGPH57KOUCLU3BZ6ECRRXYWU4HB/ 
 
 
Link:https://gitee.com/openeuler/kernel/pulls/1306 

Reviewed-by: Weilong Chen <chenweilong@huawei.com> 
Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> 
Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com> 
......@@ -437,6 +437,9 @@ config SMMU_BYPASS_DEV
This feature will be replaced by ACPI IORT RMR node, which will be
upstreamed in mainline.
endif # IOMMU_SUPPORT
config IOVA_MAX_GLOBAL_MAGS
int "Set the max iova global magzines in iova rcache"
range 16 2048
......@@ -446,6 +449,3 @@ config IOVA_MAX_GLOBAL_MAGS
it can be a bottle neck when lots of cpus are contending to use it.
If you are suffering from the speed of allocing iova with more than
128 cpus, try to tune this config larger.
endif # IOMMU_SUPPORT
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册