[PATCH 0/7] TLB flush update for radix

Aneesh Kumar K.V aneesh.kumar at linux.vnet.ibm.com
Thu May 19 17:58:43 AEST 2016


Hi,

This patch series introduce range based tlb flush and use the same for radix
implementation. We still need to handle the mmu_gather related tlb flush.
That will be done in a later patch.

Aneesh Kumar K.V (7):
  powerpc/mm: Use hugetlb flush functions
  powerpc/mm: Drop multiple definition of mm_is_core_local
  powerpc/mm/radix: Add tlb flush of THP ptes
  powerpc/mm/radix: Rename function and drop unused arg
  powerpc/mm/radix/hugetlb: Add helper for finding page size from hstate
  powerpc/mm/hugetlb: Add flush_hugetlb_tlb_range
  powerpc/mm: remove flush_tlb_page_nohash

 arch/powerpc/include/asm/book3s/64/hugetlb-radix.h | 15 +++++
 arch/powerpc/include/asm/book3s/64/tlbflush-hash.h |  5 --
 .../powerpc/include/asm/book3s/64/tlbflush-radix.h | 16 +++--
 arch/powerpc/include/asm/book3s/64/tlbflush.h      | 27 +++++---
 arch/powerpc/include/asm/hugetlb.h                 |  2 +-
 arch/powerpc/include/asm/tlb.h                     | 13 ++++
 arch/powerpc/include/asm/tlbflush.h                |  1 -
 arch/powerpc/mm/hugetlbpage-radix.c                | 39 +++++------
 arch/powerpc/mm/pgtable-book3s64.c                 |  4 +-
 arch/powerpc/mm/pgtable.c                          |  2 +-
 arch/powerpc/mm/tlb-radix.c                        | 78 ++++++++++++++++++----
 arch/powerpc/mm/tlb_hash32.c                       | 11 ---
 arch/powerpc/mm/tlb_nohash.c                       |  6 --
 mm/hugetlb.c                                       | 10 ++-
 14 files changed, 152 insertions(+), 77 deletions(-)

-- 
2.7.4



More information about the Linuxppc-dev mailing list