Skip to content

Support for contiguous pte hugepages

Punit Agrawal linux-arch linux-arm-kernel linux-mm lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 4 repliesIn review 1 of 8 applied
  2. v48 patches 2 repliesSuperseded 3 of 10 applied
  3. v36 patches 10 repliesSuperseded 4 of 8 applied
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v29 patches0 repliesSuperseded
v14 patches2 repliesSuperseded

Changes in v5 from the cover letter

* 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

Patches in v5 1 of 8 applied

#Subject and filesSizeRepliesApplied
1/8arm64: hugetlb: Refactor find_num_contigarch/arm64/mm/hugetlbpage.c+8 -90 replies
2/8arm64: hugetlb: Remove spurious calls to huge_ptep_offsetarch/arm64/mm/hugetlbpage.c+14 -230 replies
3/8mm, gup: Remove broken VM_BUG_ON_PAGE compound check for hugepagesmm/gup.c+0 -30 replies
4/8mm, gup: Ensure real head page is ref-counted when using hugepagesmm/gup.c+6 -60 repliesApplied
5/8mm/hugetlb: add size parameter to huge_pte_offset()arch/arm64/mm/hugetlbpage.c arch/ia64/mm/hugetlbpage.c arch/metag/mm/hugetlbpage.c +13 more+46 -270 replies
6/8mm/hugetlb: Allow architectures to override huge_pte_clear()arch/s390/include/asm/hugetlb.h include/asm-generic/hugetlb.h mm/hugetlb.c+5 -30 replies
7/8mm/hugetlb: Introduce set_huge_swap_pte_at() helperinclude/linux/hugetlb.h mm/hugetlb.c+18 -30 replies
8/8mm: rmap: Use correct helper when poisoning hugepagesmm/rmap.c+5 -20 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchSteve CapperKirill A. ShutemovArnd BergmannMartin Schwidefsky
1/8
2/8
3/8A-b A-b
4/8
5/8A-b
6/8A-b A-b
7/8A-b
8/8A-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 4 reviewers.

Read the v5 thread

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

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(-)
Signature · 7 lines
2.11.0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>