diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-03-27 07:49:46 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-04-29 20:49:28 +0300 |
commit | 9546f00410ed88b8117388cfd74ea59f4616a158 (patch) | |
tree | 1c0d8fc79fd666a1caf2c7a501ffef7d16a6354d /tools/perf/scripts/python/sched-migration.py | |
parent | 038ac18aae935c89c874649acde5a82f588a12b4 (diff) | |
download | linux-9546f00410ed88b8117388cfd74ea59f4616a158.tar.xz |
riscv: Only send remote fences when some other CPU is online
If no other CPU is online, a local cache or TLB flush is sufficient.
These checks can be constant-folded when SMP is disabled.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240327045035.368512-6-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions