Commit 8bcb9c38 authored by Zhen Lei's avatar Zhen Lei
Browse files

iommu/arm-smmu-v3: Make ECMDQs to be evenly allocated based on the number of cores

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7YUNJ



--------------------------------

The implementation of ECMDQ equalization based on the number of numa
nodes and the number of cores in it is too complicated. Some special
application scenarios, such as using maxcpus to limit the number of
cores, may not be fully considered. Equalizing ECMDQ by number of cores
can greatly simplify code and reduce quality risk.

Fixes: 3965519b ("iommu/arm-smmu-v3: Add support for less than one ECMDQ per core")
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
parent bc5da35b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment