Skip to content

Remove s390 sw-emulated hugepages and cleanup

Dominik Dingel linux-arm-kernel linux-ia64 linux-metag linux-mips linux-mm linux-sh linuxppc-dev lkml sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5s390/mm: make hugepages_supported a boot time decisionarch/s390/include/asm/page.h arch/s390/kernel/setup.c arch/s390/mm/pgtable.c+8 -40 replies
2/5mm/hugetlb: remove unused arch hook prepare/release_hugepagemm/hugetlb.c+0 -100 replies
3/5mm/hugetlb: remove arch_prepare/release_hugepage from arch headersarch/arm/include/asm/hugetlb.h arch/arm64/include/asm/hugetlb.h arch/ia64/include/asm/hugetlb.h +7 more+0 -902 replies
4/5s390/hugetlb: remove dead code for sw emulated huge pagesarch/s390/include/asm/hugetlb.h arch/s390/mm/hugetlbpage.c+3 -600 replies
5/5s390/mm: forward check for huge pmds to pmd_large()arch/s390/mm/hugetlbpage.c+1 -40 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMartin SchwidefskyRalf BaechleMichael Ellerman
1/5A-b
2/5A-b
3/5A-b A-b A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] Remove s390 sw-emulated hugepages and cleanup

Hi everyone,

there is a potential bug with KVM and hugetlbfs if the hardware does not support hugepages (EDAT1).
We fix this by making EDAT1 a hard requirement for hugepages and therefore removing and simplifying code.

As s390, with the sw-emulated hugepages, was the only user of arch_prepare/release_hugepage I also removed theses calls from common and other architecture code.

Thanks,
Dominik

Dominik Dingel (5):
s390/mm: make hugepages_supported a boot time decision mm/hugetlb: remove unused arch hook prepare/release_hugepage mm/hugetlb: remove arch_prepare/release_hugepage from arch headers s390/hugetlb: remove dead code for sw emulated huge pages s390/mm: forward check for huge pmds to pmd_large()

 arch/arm/include/asm/hugetlb.h     |  9 ------
 arch/arm64/include/asm/hugetlb.h   |  9 ------
 arch/ia64/include/asm/hugetlb.h    |  9 ------
 arch/metag/include/asm/hugetlb.h   |  9 ------
 arch/mips/include/asm/hugetlb.h    |  9 ------
 arch/powerpc/include/asm/hugetlb.h |  9 ------
 arch/s390/include/asm/hugetlb.h    |  3 --
 arch/s390/include/asm/page.h       |  8 ++---
 arch/s390/kernel/setup.c           |  2 ++
 arch/s390/mm/hugetlbpage.c         | 65 +++-----------------------------------
 arch/s390/mm/pgtable.c             |  2 ++
 arch/sh/include/asm/hugetlb.h      |  9 ------
 arch/sparc/include/asm/hugetlb.h   |  9 ------
 arch/tile/include/asm/hugetlb.h    |  9 ------
 arch/x86/include/asm/hugetlb.h     |  9 ------
 mm/hugetlb.c                       | 10 ------
 16 files changed, 12 insertions(+), 168 deletions(-)
Signature · 1 line
2.3.7