[PATCH v5 0/8] Support for contiguous pte hugepages

Punit Agrawal punit.agrawal at arm.com
Mon Jun 19 10:01:37 PDT 2017


Hi Andrew,

This is v5 of the patchset to update the hugetlb code to support
contiguous hugepages. Previous version of the patchset can be found at
[0].

The main changes in this version are updating Patch 4 and 7 due to
issues highlighted in the previous postings (ltp and build failure).

Please update the patches in your queue with this version.

Thanks,
Punit

Changes since v4:

* Patch 4 updated to fix arm64 ltp failure (pth_str01, pth_str03) [1]
* Patch 7 update to fix build failure when CONFIG_HUGETLB_PAGE is disabled

[0] https://lkml.org/lkml/2017/5/24/463
[1] https://lkml.org/lkml/2017/6/5/332

Punit Agrawal (5):
  mm, gup: Ensure real head page is ref-counted when using hugepages
  mm/hugetlb: add size parameter to huge_pte_offset()
  mm/hugetlb: Allow architectures to override huge_pte_clear()
  mm/hugetlb: Introduce set_huge_swap_pte_at() helper
  mm: rmap: Use correct helper when poisoning hugepages

Steve Capper (2):
  arm64: hugetlb: Refactor find_num_contig
  arm64: hugetlb: Remove spurious calls to huge_ptep_offset

Will Deacon (1):
  mm, gup: Remove broken VM_BUG_ON_PAGE compound check for hugepages

 arch/arm64/mm/hugetlbpage.c     | 53 +++++++++++++++++------------------------
 arch/ia64/mm/hugetlbpage.c      |  4 ++--
 arch/metag/mm/hugetlbpage.c     |  3 ++-
 arch/mips/mm/hugetlbpage.c      |  3 ++-
 arch/parisc/mm/hugetlbpage.c    |  3 ++-
 arch/powerpc/mm/hugetlbpage.c   |  2 +-
 arch/s390/include/asm/hugetlb.h |  2 +-
 arch/s390/mm/hugetlbpage.c      |  3 ++-
 arch/sh/mm/hugetlbpage.c        |  3 ++-
 arch/sparc/mm/hugetlbpage.c     |  3 ++-
 arch/tile/mm/hugetlbpage.c      |  3 ++-
 arch/x86/mm/hugetlbpage.c       |  2 +-
 fs/userfaultfd.c                |  7 ++++--
 include/asm-generic/hugetlb.h   |  4 +++-
 include/linux/hugetlb.h         | 18 ++++++++++++--
 mm/gup.c                        | 15 +++++-------
 mm/hugetlb.c                    | 33 +++++++++++++++----------
 mm/page_vma_mapped.c            |  3 ++-
 mm/pagewalk.c                   |  3 ++-
 mm/rmap.c                       |  7 ++++--
 20 files changed, 100 insertions(+), 74 deletions(-)

-- 
2.11.0




More information about the linux-arm-kernel mailing list