Skip to content

RFC thp: transparent hugepages on s390

Gerald Schaefer lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest7 patches 8 repliesIn review
  2. v1 RFC7 patches 6 repliesSuperseded

Changes in v2 from the cover letter

[PATCH 1/7] Fix build problem on non-s390 architecture. [PATCH 2/7] Fix build problem on non-s390 architecture. [PATCH 7/7] Make use of rrbm instruction if available.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7thp: remove assumptions on pgtable_t typeinclude/asm-generic/pgtable.h include/linux/huge_mm.h mm/huge_memory.c +1 more+53 -414 replies
2/7thp: introduce pmdp_invalidate()include/asm-generic/pgtable.h mm/huge_memory.c mm/pgtable-generic.c+17 -20 replies
3/7thp: make MADV_HUGEPAGE check for mm->def_flagsmm/huge_memory.c+4 -00 replies
4/7thp, s390: thp splitting backend for s390arch/s390/include/asm/pgtable.h arch/s390/mm/gup.c arch/s390/mm/pgtable.c+41 -10 replies
5/7thp, s390: thp pagetable pre-allocation for s390arch/s390/include/asm/pgtable.h arch/s390/mm/pgtable.c+44 -00 replies
6/7thp, s390: disable thp for kvm host on s390arch/s390/mm/pgtable.c+30 -00 replies
7/7thp, s390: architecture backend for thp on s390arch/s390/include/asm/hugetlb.h arch/s390/include/asm/pgtable.h arch/s390/include/asm/setup.h +4 more+219 -180 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [RFC v2 PATCH 0/7] thp: transparent hugepages on s390

This patch series adds support for transparent hugepages on System z. Small changes to common code are necessary with regard to a different pgtable_t, tlb flushing and kvm behaviour on s390, see patches 1 to 3.

Changes to v2:
[PATCH 1/7] Fix build problem on non-s390 architecture. [PATCH 2/7] Fix build problem on non-s390 architecture. [PATCH 7/7] Make use of rrbm instruction if available.

Gerald Schaefer (7):
thp: remove assumptions on pgtable_t type
thp: introduce pmdp_invalidate()
thp: make MADV_HUGEPAGE check for mm->def_flags thp, s390: thp splitting backend for s390 thp, s390: thp pagetable pre-allocation for s390 thp, s390: disable thp for kvm host on s390 thp, s390: architecture backend for thp on s390

 arch/s390/include/asm/hugetlb.h |  18 +---
 arch/s390/include/asm/pgtable.h | 208 ++++++++++++++++++++++++++++++++++++++++
 arch/s390/include/asm/setup.h   |   3 +
 arch/s390/include/asm/tlb.h     |   1 +
 arch/s390/kernel/early.c        |   2 +
 arch/s390/mm/gup.c              |  11 ++-
 arch/s390/mm/pgtable.c          | 108 +++++++++++++++++++++
 include/asm-generic/pgtable.h   |  13 +++
 include/linux/huge_mm.h         |   1 -
 mm/Kconfig                      |   2 +-
 mm/huge_memory.c                |  53 +++-------
 mm/pgtable-generic.c            |  50 ++++++++++
 12 files changed, 408 insertions(+), 62 deletions(-)
Signature · 1 line
1.7.11.5