Skip to content

Reduce memory usage for mm_context_t

Aneesh Kumar K.V linuxppc-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 4 repliesIn review
  2. v23 patches 0 repliesSuperseded
  3. v1 RFC1 patch 7 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6powerpc/mm/radix: Do slb preload only with hash translation modearch/powerpc/kernel/process.c+2 -10 replies
2/6powerpc/mm: Remove PPC_MM_SLICES #ifdef for book3s64arch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/include/asm/book3s/64/slice.h+0 -171 reply
3/6powerpc/mm: Add helpers for accessing hash translation related variablesarch/powerpc/include/asm/book3s/64/mmu-hash.h arch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/include/asm/nohash/32/mmu-8xx.h +5 more+154 -441 reply
4/6powerpc/mm: Move slb_addr_linit to early_init_mmuarch/powerpc/kernel/setup-common.c arch/powerpc/mm/hash_utils_64.c arch/powerpc/mm/tlb_nohash.c+8 -110 replies
5/6powerpc/mm: Reduce memory usage for mm_context_t for radixarch/powerpc/include/asm/book3s/64/mmu-hash.h arch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/kernel/setup-common.c +2 more+68 -402 replies
6/6powerc/mm/hash: Reduce hash_mm_context sizearch/powerpc/include/asm/book3s/64/mmu-hash.h arch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/mm/hash_utils_64.c +2 more+40 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/6] Reduce memory usage for mm_context_t

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(-)
Signature · 1 line
2.20.1