Skip to content

THP support for ARC

Vineet Gupta linux-arch linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 13 repliesIn review
  2. v111 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ARC: mm: switch pgtable_to to pte_t *arch/arc/include/asm/page.h arch/arc/include/asm/pgalloc.h+5 -50 replies
2/12ARC: mm: pte flags comsetic cleanups, commentsarch/arc/include/asm/pgtable.h arch/arc/mm/tlbex.S+17 -220 replies
3/12ARC: mm: Introduce PTE_SPECIALarch/arc/include/asm/pgtable.h+5 -20 replies
4/12Documentation/features/vm: pte_special now supported by ARCDocumentation/features/vm/pte_special/arch-support.txt+1 -10 replies
5/12ARCv2: mm: THP supportarch/arc/Kconfig arch/arc/include/asm/hugepage.h arch/arc/include/asm/page.h +3 more+160 -60 replies
6/12ARCv2: mm: THP: boot validation/reportingarch/arc/mm/tlb.c+7 -10 replies
7/12Documentation/features/vm: THP now supported by ARCDocumentation/features/vm/THP/arch-support.txt+1 -10 replies
8/12mm: move some code aroundmm/pgtable-generic.c+25 -252 replies
9/12mm,thp: reduce ifdef'ery for THP in generic codeinclude/asm-generic/pgtable.h mm/pgtable-generic.c+21 -523 replies
10/12mm,thp: introduce flush_pmd_tlb_rangemm/huge_memory.c mm/pgtable-generic.c+20 -72 replies
11/12ARCv2: mm: THP: Implement flush_pmd_tlb_range() optimizationarch/arc/include/asm/hugepage.h arch/arc/mm/tlb.c+24 -00 replies
12/12ARCv2: Add a DT which enables THParch/arc/boot/dts/hs_thp.dts+59 -00 replies

Reviews trailers per patch

2 of 12 patches have a Reviewed-by or Acked-by.

PatchKirill A. Shutemov
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12A-b
9/12
10/12A-b
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/12] THP support for ARC

Hi,

This series brings THP support to ARC. It also introduces an optional new thp hook for arches to possibly optimize the TLB flush in thp regime.

Please review !

Changes Since v1 [*]
- Rebased against v4.3-rc2
- Switched ARC pgtable_t to pte_t * (Kiril)
- Removed stub implementations for (Andrew)
pmdp_set_access_flags, pmdp_test_and_clear_young, pmdp_set_wrprotect, pmdp_collapse_flush, pmd_same

[*] http://lkml.kernel.org/r/[email protected]

Vineet Gupta (12):
ARC: mm: switch pgtable_to to pte_t *
ARC: mm: pte flags comsetic cleanups, comments
ARC: mm: Introduce PTE_SPECIAL Documentation/features/vm: pte_special now supported by ARC
ARCv2: mm: THP support
ARCv2: mm: THP: boot validation/reporting Documentation/features/vm: THP now supported by ARC
mm: move some code around
mm,thp: reduce ifdef'ery for THP in generic code mm,thp: introduce flush_pmd_tlb_range
ARCv2: mm: THP: Implement flush_pmd_tlb_range() optimization
ARCv2: Add a DT which enables THP

 Documentation/features/vm/THP/arch-support.txt     |  2 +-
 .../features/vm/pte_special/arch-support.txt       |  2 +-
 arch/arc/Kconfig                                   |  4 +
 arch/arc/boot/dts/hs_thp.dts                       | 59 +++++++++++++
 arch/arc/include/asm/hugepage.h                    | 82 ++++++++++++++++++
 arch/arc/include/asm/page.h                        |  5 +-
 arch/arc/include/asm/pgalloc.h                     |  6 +-
 arch/arc/include/asm/pgtable.h                     | 60 +++++++------
 arch/arc/mm/tlb.c                                  | 76 ++++++++++++++++-
 arch/arc/mm/tlbex.S                                | 21 +++--
 include/asm-generic/pgtable.h                      | 49 ++++-------
 mm/huge_memory.c                                   |  2 +-
 mm/pgtable-generic.c                               | 99 ++++++++++------------
 13 files changed, 345 insertions(+), 122 deletions(-)
 create mode 100644 arch/arc/boot/dts/hs_thp.dts
 create mode 100644 arch/arc/include/asm/hugepage.h
Signature · 7 lines
1.9.1

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