[PATCH v7 0/4] MIPS: page fault handling optimization

From: Bibo Mao
Date: Tue May 26 2020 - 22:26:16 EST

- define function flush_tlb_fix_spurious_fault as inline rather
than macro
- Add update_mmu_tlb function as empty on all platform except mips
system, we use this function to update local tlb for page fault
smp-race handling
- define update_mmu_cache function specified on MIPS platform, and
add page fault smp-race stats info
- add pte_sw_mkyoung function to implement readable privilege, and
this function is only in effect on MIPS system.
- add page valid bit judgement in function pte_modify
- add detailed changelog, modify typo issue in patch V2
- split flush_tlb_fix_spurious_fault and tlb update into two patches
- comments typo modification
- separate tlb update and add pte readable privilege into two patches

Bibo Mao (4):
MIPS: Do not flush tlb page when updating PTE entry
mm/memory.c: Update local TLB if PTE entry exists
mm/memory.c: Add memory read privilege on page fault handling
MIPS: mm: add page valid judgement in function pte_modify

arch/mips/include/asm/pgtable.h | 37 +++++++++++++++++++++++++++++++++++--
include/asm-generic/pgtable.h | 33 +++++++++++++++++++++++++++++++++
mm/memory.c | 30 ++++++++++++++++++++++--------
3 files changed, 90 insertions(+), 10 deletions(-)