mbox series

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

Message ID 1590546320-21814-1-git-send-email-maobibo@loongson.cn (mailing list archive)
Headers show
Series MIPS: page fault handling optimization | expand

Message

bibo mao May 27, 2020, 2:25 a.m. UTC
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(-)

Comments

Thomas Bogendoerfer May 27, 2020, 11:32 a.m. UTC | #1
On Wed, May 27, 2020 at 10:25:16AM +0800, Bibo Mao wrote:
> 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(-)

series applied to mips-next.

Thomas.