diff options
| author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2023-02-21 13:16:56 +0000 |
|---|---|---|
| committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2023-03-14 17:06:16 +0100 |
| commit | 227003cb5325298a26276f49bebbfaf39d903be4 (patch) | |
| tree | a314c224f0dd599505eda955465710e207d1af7c /tools/perf/scripts/python/bin | |
| parent | MIPS: Loongson64: smp: Use nudge_writes instead of wbflush (diff) | |
| download | linux-227003cb5325298a26276f49bebbfaf39d903be4.tar.gz linux-227003cb5325298a26276f49bebbfaf39d903be4.zip | |
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/bin')
0 files changed, 0 insertions, 0 deletions
