linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 00/10] Reduce the pte framgment size.
@ 2015-11-23 10:33 Aneesh Kumar K.V
  2015-11-23 10:33 ` [PATCH V2 01/10] powerpc/mm: Don't hardcode page table size Aneesh Kumar K.V
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Aneesh Kumar K.V @ 2015-11-23 10:33 UTC (permalink / raw)
  To: benh, paulus, mpe, Scott Wood, Denis Kirjanov
  Cc: linuxppc-dev, Aneesh Kumar K.V

Hi,

This patch series update 4k subpage tracking in pte page, thereby reducing
the ptefragment size. This results in us allocating less number of
pgtable_t for an application. One of the side effect is that we now make
and hcall to find out whether a 4k subpage is present in the hash page table or not.
We try to optmize that in patch "powerpc/mm: Optmize the hashed subpage iteration"

Changes from V1:
* rebased on top of 4.3 + change pte format series
* Use H_READ_4 so that we read 4 hpte slot information in single hcall.

Aneesh Kumar K.V (10):
  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/nohash: we don't use real_pte_t for nohash
  powerpc/mm: Use H_READ with H_READ_4
  powerpc/mm: Don't track 4k subpage information with 64k linux page
    size
  powerpc/mm: update PTE frag size
  powerpc/mm: Update pte_iterate_hashed_subpages args
  powerpc/mm: Drop real_pte_t usage
  powerpc/mm: Optmize the hashed subpage iteration

 arch/powerpc/include/asm/book3s/64/hash-64k.h    |  82 ++++++++-----------
 arch/powerpc/include/asm/book3s/64/pgtable.h     |  35 ++++----
 arch/powerpc/include/asm/machdep.h               |   1 +
 arch/powerpc/include/asm/nohash/64/pgtable-64k.h |  21 ++++-
 arch/powerpc/include/asm/nohash/64/pgtable.h     |  33 --------
 arch/powerpc/include/asm/page.h                  |  15 ----
 arch/powerpc/include/asm/pgalloc-64.h            |  10 ---
 arch/powerpc/include/asm/plpar_wrappers.h        |  17 ++++
 arch/powerpc/include/asm/tlbflush.h              |   4 +-
 arch/powerpc/mm/hash64_64k.c                     | 100 ++++++++++++++---------
 arch/powerpc/mm/hash_native_64.c                 |  55 +++++++++++--
 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            |  90 +++++++++++++-------
 16 files changed, 279 insertions(+), 225 deletions(-)

-- 
2.5.0

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

end of thread, other threads:[~2015-11-27 11:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 10:33 [PATCH V2 00/10] Reduce the pte framgment size Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 01/10] powerpc/mm: Don't hardcode page table size Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 02/10] powerpc/mm: Don't hardcode the hash pte slot shift Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 03/10] powerpc/nohash: Update 64K nohash config to have 32 pte fragement Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 04/10] powerpc/nohash: we don't use real_pte_t for nohash Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 05/10] powerpc/mm: Use H_READ with H_READ_4 Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 06/10] powerpc/mm: Don't track 4k subpage information with 64k linux page size Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 07/10] powerpc/mm: update PTE frag size Aneesh Kumar K.V
2015-11-27  7:27   ` Aneesh Kumar K.V
2015-11-27 11:56     ` Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 08/10] powerpc/mm: Update pte_iterate_hashed_subpages args Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 09/10] powerpc/mm: Drop real_pte_t usage Aneesh Kumar K.V
2015-11-23 10:33 ` [PATCH V2 10/10] powerpc/mm: Optmize the hashed subpage iteration Aneesh Kumar K.V

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).