linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Reduce memory usage for mm_context_t
@ 2019-04-17 13:03 Aneesh Kumar K.V
  2019-04-17 13:03 ` [PATCH v3 1/6] powerpc/mm/radix: Do slb preload only with hash translation mode Aneesh Kumar K.V
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Aneesh Kumar K.V @ 2019-04-17 13:03 UTC (permalink / raw)
  To: npiggin, paulus, mpe, Christophe Leroy; +Cc: Aneesh Kumar K.V, linuxppc-dev

This patch moves hash translation related context variables to another structure
and runtime allocate that based on translation mode.

Aneesh Kumar K.V (6):
  powerpc/mm/radix: Do slb preload only with hash translation mode
  powerpc/mm: Remove PPC_MM_SLICES #ifdef for book3s64
  powerpc/mm: Add helpers for accessing hash translation related
    variables
  powerpc/mm: Move slb_addr_linit to early_init_mmu
  powerpc/mm: Reduce memory usage for mm_context_t for radix
  powerc/mm/hash: Reduce hash_mm_context size

 arch/powerpc/include/asm/book3s/64/mmu-hash.h | 37 +++++++-
 arch/powerpc/include/asm/book3s/64/mmu.h      | 92 +++++++++++++------
 arch/powerpc/include/asm/book3s/64/slice.h    | 13 ---
 arch/powerpc/include/asm/nohash/32/mmu-8xx.h  | 50 ++++++++++
 arch/powerpc/kernel/paca.c                    | 12 +--
 arch/powerpc/kernel/process.c                 |  3 +-
 arch/powerpc/kernel/setup-common.c            |  7 +-
 arch/powerpc/mm/hash_utils_64.c               | 17 +++-
 arch/powerpc/mm/mmu_context_book3s64.c        | 29 +++++-
 arch/powerpc/mm/slb.c                         |  2 +-
 arch/powerpc/mm/slice.c                       | 49 +++++-----
 arch/powerpc/mm/subpage-prot.c                | 34 +++++--
 arch/powerpc/mm/tlb_nohash.c                  |  6 ++
 13 files changed, 248 insertions(+), 103 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2019-04-26  4:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-17 13:03 [PATCH v3 0/6] Reduce memory usage for mm_context_t Aneesh Kumar K.V
2019-04-17 13:03 ` [PATCH v3 1/6] powerpc/mm/radix: Do slb preload only with hash translation mode Aneesh Kumar K.V
2019-04-17 13:03 ` [PATCH v3 2/6] powerpc/mm: Remove PPC_MM_SLICES #ifdef for book3s64 Aneesh Kumar K.V
2019-04-21 14:19   ` [v3,2/6] " Michael Ellerman
2019-04-17 13:03 ` [PATCH v3 3/6] powerpc/mm: Add helpers for accessing hash translation related variables Aneesh Kumar K.V
2019-04-24 10:16   ` Christophe Leroy
2019-04-17 13:03 ` [PATCH v3 4/6] powerpc/mm: Move slb_addr_linit to early_init_mmu Aneesh Kumar K.V
2019-04-17 13:03 ` [PATCH v3 5/6] powerpc/mm: Reduce memory usage for mm_context_t for radix Aneesh Kumar K.V
2019-04-24 12:54   ` Christophe Leroy
2019-04-26  4:50     ` Aneesh Kumar K.V
2019-04-17 13:03 ` [PATCH v3 6/6] powerc/mm/hash: Reduce hash_mm_context size 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).