diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2023-02-21 16:16:56 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2023-03-14 19:06:16 +0300 |
commit | 227003cb5325298a26276f49bebbfaf39d903be4 (patch) | |
tree | a314c224f0dd599505eda955465710e207d1af7c /tools/perf/scripts/python/libxed.py | |
parent | ac24cc1835c8e6400230f0bf50e6ba0ab75cb09f (diff) | |
download | linux-227003cb5325298a26276f49bebbfaf39d903be4.tar.xz |
MIPS: Loongson64: smp: Correct nudge_writes usage
Previously every write to SMP regisers are followed by nudge_writes,
this incures a huge performance penalty because nudge_writes involves
SYNC, which will be globalized on chip.
Only set off nudge_writes when we really want other cores to see the
result ASAP. Also replace read/write functions to relaxed version because
we don't need extra barriers to protect against DMA.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions