Skip to content

Various TLB and PTE improvements

Nicholas Piggin linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 2 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7powerpc/64s/radix: do not flush TLB on spurious faultarch/powerpc/include/asm/book3s/64/tlbflush.h+11 -12 replies
2/7powerpc/64s/radix: reset mm_cpumask for single thread process when possiblearch/powerpc/include/asm/mmu_context.h arch/powerpc/include/asm/tlb.h arch/powerpc/mm/tlb-radix.c+70 -140 replies
3/7powerpc/64s/radix: make single threaded mms always flush all translations from non-local CPUsarch/powerpc/mm/tlb-radix.c+27 -180 replies
4/7powerpc/64s/radix: make ptep_get_and_clear_full non-atomic for the full casearch/powerpc/include/asm/book3s/64/radix.h+2 -80 replies
5/7powerpc/64s/radix: optimise pte_updatearch/powerpc/include/asm/book3s/64/radix.h arch/powerpc/mm/mmu_context.c arch/powerpc/mm/tlb-radix.c+27 -150 replies
6/7powerpc/64s/radix: prefetch user address in update_mmu_cachearch/powerpc/mm/mem.c arch/powerpc/mm/pgtable-book3s64.c+5 -20 replies
7/7powerpc/64s/radix: avoid ptesync after set_pte and ptep_set_access_flagsarch/powerpc/include/asm/book3s/64/radix.h arch/powerpc/include/asm/cacheflush.h+13 -20 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchBalbir SinghAneesh Kumar K.V
1/7R-b
2/7R-b
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] Various TLB and PTE improvements

I've posted most of these separately at one time or another but I will send them as a series, there have been some bug fixes and changelog and comment improvements, and got some more numbers.

Most of the patches are logically independent (except 2 and 3 AFAIKS).

Thanks,
Nick

Nicholas Piggin (7):
powerpc/64s/radix: do not flush TLB on spurious fault powerpc/64s/radix: reset mm_cpumask for single thread process when
possible
powerpc/64s/radix: make single threaded mms always flush all translations
from non-local CPUs
powerpc/64s/radix: make ptep_get_and_clear_full non-atomic for the
full case
powerpc/64s/radix: optimise pte_update
powerpc/64s/radix: prefetch user address in update_mmu_cache powerpc/64s/radix: avoid ptesync after set_pte and
ptep_set_access_flags

 arch/powerpc/include/asm/book3s/64/radix.h    | 37 ++++----
 arch/powerpc/include/asm/book3s/64/tlbflush.h | 12 ++-
 arch/powerpc/include/asm/cacheflush.h         | 13 +++
 arch/powerpc/include/asm/mmu_context.h        | 19 ++++
 arch/powerpc/include/asm/tlb.h                |  8 ++
 arch/powerpc/mm/mem.c                         |  4 +-
 arch/powerpc/mm/mmu_context.c                 |  6 +-
 arch/powerpc/mm/pgtable-book3s64.c            |  3 +-
 arch/powerpc/mm/tlb-radix.c                   | 89 ++++++++++++++-----
 9 files changed, 143 insertions(+), 48 deletions(-)
Signature · 1 line
2.17.0