MIPS: Do not flush tlb page when updating PTE entry
authorBibo Mao <maobibo@loongson.cn>
Wed, 27 May 2020 02:25:17 +0000 (10:25 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 27 May 2020 11:05:19 +0000 (13:05 +0200)
commit4dd7683ea1d66975fb258d02f2b74a7e9a32b131
tree2b0db3520fe7313f767e7dd3d1b6c2ba3986febc
parent62249209a77222e1cfb38dde310bd5a877524f7d
MIPS: Do not flush tlb page when updating PTE entry

It is not necessary to flush tlb page on all CPUs if suitable PTE
entry exists already during page fault handling, just updating
TLB is fine.

Here redefine flush_tlb_fix_spurious_fault as empty on MIPS system.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/pgtable.h