linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/7] Remove 4k subpage tracking with hash 64K config
@ 2015-10-20 20:12 Aneesh Kumar K.V
  2015-10-20 20:12 ` [RFC PATCH 1/7] powerpc/mm: Don't hardcode page table size Aneesh Kumar K.V
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Aneesh Kumar K.V @ 2015-10-20 20:12 UTC (permalink / raw)
  To: benh, paulus, mpe; +Cc: linuxppc-dev, Aneesh Kumar K.V

Hi,

This patch series is on top of the series posted at 

https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-October/135299.html
"[PATCH V4 00/31] powerpc/mm: Update page table format for book3s 64". In this
series we remove 4k subpage tracking with 64K config. Instead we do a hash
table lookup to get the slot information of 4k hash ptes. This also allow us
to remove real_pte_t. Side effect of the change is that a specific 4k slot
lookup can result in multiple H_READ hcalls. But that should only impact
when we are using 4K subpages which should be rare.

NOTE: I only tested this on systemsim. Wanted to get this out to get early
feedback.

Aneesh Kumar K.V (7):
  powerpc/mm: Don't hardcode page table size
  powerpc/mm: Don't hardcode the hash pte slot shift
  powerpc/nohash: Update 64K nohash config to have 32 pte fragement
  powerpc/mm: Don't track 4k subpage information with 64k linux page
    size
  powerpc/mm: update frag size
  powerpc/mm: Update pte_iterate_hashed_subpaes args
  powerpc/mm: getrid of real_pte_t

 arch/powerpc/include/asm/book3s/64/hash-64k.h    | 75 +++++++++---------------
 arch/powerpc/include/asm/book3s/64/pgtable.h     | 25 +++-----
 arch/powerpc/include/asm/machdep.h               |  2 +
 arch/powerpc/include/asm/nohash/64/pgtable-64k.h | 21 +++++--
 arch/powerpc/include/asm/nohash/64/pgtable.h     | 24 +++-----
 arch/powerpc/include/asm/page.h                  | 15 -----
 arch/powerpc/include/asm/pgalloc-64.h            | 10 ----
 arch/powerpc/include/asm/tlbflush.h              |  4 +-
 arch/powerpc/mm/hash64_64k.c                     | 67 +++++++++++++--------
 arch/powerpc/mm/hash_native_64.c                 | 35 ++++++++---
 arch/powerpc/mm/hash_utils_64.c                  | 13 ++--
 arch/powerpc/mm/init_64.c                        |  7 +--
 arch/powerpc/mm/pgtable_64.c                     |  6 +-
 arch/powerpc/mm/tlb_hash64.c                     | 15 +++--
 arch/powerpc/platforms/pseries/lpar.c            | 23 ++++++--
 15 files changed, 175 insertions(+), 167 deletions(-)

-- 
2.5.0

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-11-03  9:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20 20:12 [RFC PATCH 0/7] Remove 4k subpage tracking with hash 64K config Aneesh Kumar K.V
2015-10-20 20:12 ` [RFC PATCH 1/7] powerpc/mm: Don't hardcode page table size Aneesh Kumar K.V
2015-10-20 20:12 ` [RFC PATCH 2/7] powerpc/mm: Don't hardcode the hash pte slot shift Aneesh Kumar K.V
2015-10-20 20:12 ` [RFC PATCH 3/7] powerpc/nohash: Update 64K nohash config to have 32 pte fragement Aneesh Kumar K.V
2015-10-20 20:12 ` [RFC PATCH 4/7] powerpc/mm: Don't track 4k subpage information with 64k linux page size Aneesh Kumar K.V
2015-10-20 20:12 ` [RFC PATCH 5/7] powerpc/mm: update frag size Aneesh Kumar K.V
2015-10-20 20:12 ` [RFC PATCH 6/7] powerpc/mm: Update pte_iterate_hashed_subpaes args Aneesh Kumar K.V
2015-10-20 20:12 ` [RFC PATCH 7/7] powerpc/mm: getrid of real_pte_t Aneesh Kumar K.V
2015-10-29  3:00 ` [RFC PATCH 0/7] Remove 4k subpage tracking with hash 64K config Paul Mackerras
2015-11-03  5:08   ` Aneesh Kumar K.V
2015-11-03  5:30     ` Benjamin Herrenschmidt
2015-11-03  9:18     ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).