diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2023-08-15 21:10:10 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-08-16 14:27:43 +0100 |
commit | 83a6d80c2bfd1d348e5e7079af21a924fdc5c972 (patch) | |
tree | 254484f72ee628f591e20aad51a11566e1f9d690 /drivers/perf/fsl_imx8_ddr_perf.c | |
parent | 4c1d2f56d685406fc6b452ca5f797bda62a06609 (diff) | |
download | linux-83a6d80c2bfd1d348e5e7079af21a924fdc5c972.tar.gz linux-83a6d80c2bfd1d348e5e7079af21a924fdc5c972.tar.bz2 linux-83a6d80c2bfd1d348e5e7079af21a924fdc5c972.zip |
drivers/perf: hisi: Schedule perf session according to locality
The PCIe PMUs locate on different NUMA node but currently we don't
consider it and likely stack all the sessions on the same CPU:
[root@localhost tmp]# cat /sys/devices/hisi_pcie*/cpumask
0
0
0
0
0
0
This can be optimize a bit to use a local CPU for the PMU.
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20230815131010.2147-1-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/fsl_imx8_ddr_perf.c')
0 files changed, 0 insertions, 0 deletions