User: Password:
|
|
Subscribe / Log in / New account

thp: transparent hugepages on s390

From:  Gerald Schaefer <gerald.schaefer@de.ibm.com>
To:  Andrew Morton <akpm@linux-foundation.org>, Andrea Arcangeli <aarcange@redhat.com>, Andi Kleen <ak@linux.intel.com>, Hugh Dickins <hughd@google.com>, Hillf Danton <dhillf@gmail.com>
Subject:  [PATCH 0/8] thp: transparent hugepages on s390
Date:  Thu, 6 Sep 2012 15:10:35 +0200
Message-ID:  <1346937043-28208-1-git-send-email-gerald.schaefer@de.ibm.com>
Cc:  linux-kernel@vger.kernel.org, Martin Schwidefsky <schwidefsky@de.ibm.com>, Heiko Carstens <heiko.carstens@de.ibm.com>, Ingo Molnar <mingo@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, "H. Peter Anvin" <hpa@zytor.com>, Gerald Schaefer <gerald.schaefer@de.ibm.com>
Archive-link:  Article

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(-)

-- 
1.7.11.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds