On Mon, 01 Jun 2015 09:35:57 +0200
Christian Borntraeger wrote:
> Am 28.05.2015 um 13:52 schrieb Dominik Dingel:
> > Hi everyone,
> >
> > there is a potential bug with KVM and hugetlbfs if the hardware does not
> > support hugepages (EDAT1).
> > We fix this b
/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
With s390 dropping support for emulated hugepages, the last user of
arch_prepare_hugepage and arch_release_hugepage is gone.
Acked-by: Martin Schwidefsky
Signed-off-by: Dominik Dingel
---
mm/hugetlb.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
We already do the check in pmd_large, so we can just forward the call.
Acked-by: Martin Schwidefsky
Signed-off-by: Dominik Dingel
---
arch/s390/mm/hugetlbpage.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/s390/mm/hugetlbpage.c b/arch/s390/mm/hugetlbpage.c
index
Nobody used these hooks so they were removed from common code,
and can now be removed from the architectures.
Acked-by: Martin Schwidefsky
Signed-off-by: Dominik Dingel
---
arch/arm/include/asm/hugetlb.h | 9 -
arch/arm64/include/asm/hugetlb.h | 9 -
arch/ia64/include/asm
We now support only hugepages on hardware with EDAT1 support.
So we remove the prepare/release_hugepage hooks and
simplify set_huge_pte_at and huge_ptep_get.
Acked-by: Martin Schwidefsky
Signed-off-by: Dominik Dingel
---
arch/s390/include/asm/hugetlb.h | 3 ---
arch/s390/mm/hugetlbpage.c
.
Acked-by: Martin Schwidefsky
Signed-off-by: Dominik Dingel
---
arch/s390/include/asm/page.h | 8
arch/s390/kernel/setup.c | 2 ++
arch/s390/mm/pgtable.c | 2 ++
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/s390/include/asm/page.h b/arch/s390/include/asm