[PATCH v7 0/4] MIPS: page fault handling optimization
From: Bibo Mao
Date: Tue May 26 2020 - 22:26:16 EST
V7:
- define function flush_tlb_fix_spurious_fault as inline rather
than macro
V6:
- 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
V5:
- define update_mmu_cache function specified on MIPS platform, and
add page fault smp-race stats info
V4:
- 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
V3:
- add detailed changelog, modify typo issue in patch V2
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(-)
--
1.8.3.1