Skip to content

thp: transparent hugepages on s390

Gerald Schaefer lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Changes since RFC v2 from the cover letter

[PATCH 1/8] introduce HAVE_ARCH_TRANSPARENT_HUGEPAGE in Kconfig [PATCH 2/8] rename pgtable_deposit/withdraw
[PATCH 6/8] rename pgtable_deposit/withdraw
[PATCH 8/8] rename pgtable_deposit/withdraw

Patches in v1 No applies recorded yet

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

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/8] thp: transparent hugepages on s390

This patch series adds support for transparent hugepages on s390. Small changes to common code are necessary with regard to a different pgtable_t, tlb flushing and kvm behaviour on s390, see patches 2 to 4. Also, (x86) Kconfig is touched by patch 1.

Changes since RFC v2:
[PATCH 1/8] introduce HAVE_ARCH_TRANSPARENT_HUGEPAGE in Kconfig [PATCH 2/8] rename pgtable_deposit/withdraw
[PATCH 6/8] rename pgtable_deposit/withdraw
[PATCH 8/8] rename pgtable_deposit/withdraw

Gerald Schaefer (8):
thp, x86: introduce HAVE_ARCH_TRANSPARENT_HUGEPAGE in Kconfig
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/Kconfig                    |   3 +
 arch/s390/Kconfig               |   1 +
 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 +++++++++++++++++++++
 arch/x86/Kconfig                |   1 +
 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 ++++++++++
 15 files changed, 413 insertions(+), 62 deletions(-)
Signature · 1 line
1.7.11.5